Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2017-05-12 02:46:11 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:14 +0300
commit37a19c61491741d767617f92de8f8b3eefe23376 (patch)
treef37f695f23092837654e5748895e07fc6a08b372 /lib
parente6d2eb258a85ccafe2a67aaefb4165b147c041d1 (diff)
fix(save): write a package-lock even if no changes made
Diffstat (limited to 'lib')
-rw-r--r--lib/install.js1
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)
}