diff options
Diffstat (limited to 'lib/prune.js')
-rw-r--r-- | lib/prune.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/prune.js b/lib/prune.js index 1da86a3e8..5c4a549d4 100644 --- a/lib/prune.js +++ b/lib/prune.js @@ -30,11 +30,13 @@ class Prune extends BaseCommand { async prune () { const where = this.npm.prefix - const arb = new Arborist({ + const opts = { ...this.npm.flatOptions, path: where, - }) - await arb.prune(this.npm.flatOptions) + log: this.npm.log, + } + const arb = new Arborist(opts) + await arb.prune(opts) await reifyFinish(this.npm, arb) } } |