diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-12 02:46:11 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:14 +0300 |
commit | 37a19c61491741d767617f92de8f8b3eefe23376 (patch) | |
tree | f37f695f23092837654e5748895e07fc6a08b372 /lib | |
parent | e6d2eb258a85ccafe2a67aaefb4165b147c041d1 (diff) |
fix(save): write a package-lock even if no changes made
Diffstat (limited to 'lib')
-rw-r--r-- | lib/install.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js index 8a47e8988..577abf823 100644 --- a/lib/install.js +++ b/lib/install.js @@ -580,7 +580,6 @@ Installer.prototype.runPostinstallTopLevelLifecycles = function (cb) { Installer.prototype.saveToDependencies = function (cb) { validate('F', arguments) if (this.failing) return cb() - if (!this.differences.length && !this.args.length) return cb() log.silly('install', 'saveToDependencies') saveRequested(this.args, this.idealTree, cb) } |