diff options
author | Rebecca Turner <me@re-becca.org> | 2017-12-19 12:31:40 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2018-02-02 02:42:56 +0300 |
commit | 3b305ee71e2bf852ff3037366a1774b8c5fcc0a5 (patch) | |
tree | d6a8f80750b6f038952e2847974de10d3be2551e /lib/prune.js | |
parent | 8c73405c5b7ca69f4025861a968e75e4078115c4 (diff) |
install: Only autoprune on install with lock file
Diffstat (limited to 'lib/prune.js')
-rw-r--r-- | lib/prune.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/prune.js b/lib/prune.js index 4ac813957..8d642e5b2 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.autoPrune = true } util.inherits(Pruner, Installer) |