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

Commit

Permalink
fix(lifecycle): remove warning from bluebird (#59)
Browse files Browse the repository at this point in the history
Fixes: #58
  • Loading branch information
jehy authored and zkat committed Jun 26, 2019
1 parent 109cbaa commit 7af39e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -348,7 +348,7 @@ class Installer {
.then(from => npa.resolve(dep.name, from))
.then(from => { pkg._from = from.toString() })
.then(() => writeFileAsync(depPkgPath, JSON.stringify(pkg, null, 2)))
.then(pkg)
.then(() => pkg)
}

updateInstallScript (dep, pkg) {
Expand All @@ -363,7 +363,7 @@ class Installer {
pkg.scripts.install = 'node-gyp rebuild'
}
})
.then(pkg)
.then(() => pkg)
}

// A cute little mark-and-sweep collector!
Expand Down

0 comments on commit 7af39e6

Please sign in to comment.