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
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-05-25 14:00:43 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:31 +0300
commit5599538eff233f7cbf128d70bbe34997bf7e7dd3 (patch)
treef80d51c70ab1de492ad6e5d92c518f19a8374110 /lib/prune.js
parent3116cfecdaaf3b76abe44ae1e3e08cce8bf8cfe1 (diff)
install,uninstall: Disable fake children when installing one mod or uninstalling
Diffstat (limited to 'lib/prune.js')
-rw-r--r--lib/prune.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/prune.js b/lib/prune.js
index 9ca17ae29..602774538 100644
--- a/lib/prune.js
+++ b/lib/prune.js
@@ -26,6 +26,7 @@ function prune (args, cb) {
function Pruner (where, dryrun, args) {
Installer.call(this, where, dryrun, args)
+ this.fakeChildren = false
}
util.inherits(Pruner, Installer)