We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ea3fb commit 2a3bd7eCopy full SHA for 2a3bd7e
lib/nodegit.js
@@ -1,3 +1,4 @@
1
+var Promise = require("nodegit-promise");
2
var promisify = require("promisify-node");
3
var descriptors = require("../generate/idefs.json");
4
var rawApi;
@@ -72,5 +73,8 @@ promisify(exports);
72
73
// Set version.
74
exports.version = require("../package").version;
75
76
+// Expose Promise implementation.
77
+exports.Promise = Promise;
78
+
79
// Initialize threads.
80
exports.Threads.init();
0 commit comments