From cd9f70f9f0466ecb4228fc0b25b3f2034af17b29 Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 17 Mar 2020 09:53:01 -0700 Subject: Fix (with hacky temporary code in some cases) usage output for all commands --- lib/prune.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/prune.js') 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') -- cgit v1.2.3