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:
Diffstat (limited to 'lib/prune.js')
-rw-r--r--lib/prune.js3
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')