diff options
author | isaacs <i@izs.me> | 2020-03-17 19:53:01 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-05-08 04:12:57 +0300 |
commit | cd9f70f9f0466ecb4228fc0b25b3f2034af17b29 (patch) | |
tree | 751aa9dcfcf486ddaa21ee949682de29d54f6008 /lib/prune.js | |
parent | 2eee7a4376d765218c8804deb48da3de760fd6cc (diff) |
Fix (with hacky temporary code in some cases) usage output for all commands
Diffstat (limited to 'lib/prune.js')
-rw-r--r-- | lib/prune.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/prune.js b/lib/prune.js index 010e471e4..62c9a9225 100644 --- a/lib/prune.js +++ b/lib/prune.js @@ -1,3 +1,4 @@ +// XXX replace this with @npmcli/arborist // prune extraneous packages. module.exports = prune @@ -28,7 +29,7 @@ function Pruner (where, dryrun, args) { Installer.call(this, where, dryrun, args) this.autoPrune = true } -util.inherits(Pruner, Installer) +util.inherits(Pruner, class {}) // Installer) Pruner.prototype.loadAllDepsIntoIdealTree = function (cb) { log.silly('uninstall', 'loadAllDepsIntoIdealTree') |