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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prune.js b/lib/prune.js
index b4836cc6d..8fa3e5d50 100644
--- a/lib/prune.js
+++ b/lib/prune.js
@@ -21,7 +21,7 @@ function prune (args, cb) {
})
function next() {
- var opt = { depth: npm.config.get("depth") }
+ var opt = { depth: npm.config.get("depth"), dev: npm.config.get("production") }
readInstalled(npm.prefix, opt, function (er, data) {
if (er) return cb(er)
prune_(args, data, cb)