Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 7af39e6

Browse files
jehyzkat
authored andcommittedJun 26, 2019
fix(lifecycle): remove warning from bluebird (#59)
Fixes: #58
1 parent 109cbaa commit 7af39e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class Installer {
348348
.then(from => npa.resolve(dep.name, from))
349349
.then(from => { pkg._from = from.toString() })
350350
.then(() => writeFileAsync(depPkgPath, JSON.stringify(pkg, null, 2)))
351-
.then(pkg)
351+
.then(() => pkg)
352352
}
353353

354354
updateInstallScript (dep, pkg) {
@@ -363,7 +363,7 @@ class Installer {
363363
pkg.scripts.install = 'node-gyp rebuild'
364364
}
365365
})
366-
.then(pkg)
366+
.then(() => pkg)
367367
}
368368

369369
// A cute little mark-and-sweep collector!

0 commit comments

Comments
 (0)
This repository has been archived.