diff options
Diffstat (limited to 'deps/npm/test/tap/update-examples.js')
-rw-r--r-- | deps/npm/test/tap/update-examples.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/test/tap/update-examples.js b/deps/npm/test/tap/update-examples.js index 5484478955..532a67f386 100644 --- a/deps/npm/test/tap/update-examples.js +++ b/deps/npm/test/tap/update-examples.js @@ -125,7 +125,7 @@ function mockInstaller (where, dryrun, what) { } mockInstaller.prototype = {} mockInstaller.prototype.run = function (cb) { - cb() + return cb ? cb() : Promise.resolve() } var npm = requireInject.installGlobally('../../lib/npm.js', { |