Skip to content

Commit 0e6464a

Browse files
author
John Haley
committed
Enable synchronous inspection by default
1 parent 177f608 commit 0e6464a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodegit-promise",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Bare bones Promises/A+ implementation with synchronous inspection",
55
"main": "index.js",
66
"scripts": {
@@ -32,7 +32,7 @@
3232
},
3333
{
3434
"name": "Max Korp",
35-
"email": "[email protected]",
35+
"email": "[email protected]"
3636
}
3737
],
3838
"license": "MIT",

src/synchronous.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ Promise.disableSynchronous = function() {
4040
Promise.prototype.getValue = undefined;
4141
Promise.prototype.getReason = undefined;
4242
};
43+
44+
Promise.enableSynchronous();

0 commit comments

Comments
 (0)