History

Update Git documentation (2.30.0)

Simon Legner committed 5 years ago

Commit 3600a9f1 parent 8f17cfa41 files · +4398 −1Browse files

Showing the changes to node_modules/simple-git/src/util/deferred.js (1 of 41 files). Show all

Unified · Split

node_modules/simple-git/src/util/deferred.js+10−0
@@ -0,0 +1,10 @@
1+
2+module.exports = function deferred () {
3+ var d = {};
4+ d.promise = new Promise(function (resolve, reject) {
5+ d.resolve = resolve;
6+ d.reject = reject
7+ });
8+
9+ return d;
10+};