diff options
Diffstat (limited to 'deps/npm/lib/prune.js')
-rw-r--r-- | deps/npm/lib/prune.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/lib/prune.js b/deps/npm/lib/prune.js index 0e13da13be..8fa3e5d508 100644 --- a/deps/npm/lib/prune.js +++ b/deps/npm/lib/prune.js @@ -21,7 +21,8 @@ function prune (args, cb) { }) function next() { - readInstalled(npm.prefix, npm.config.get("depth"), function (er, data) { + 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) }) |