diff options
author | Dav Glass <davglass@gmail.com> | 2014-02-15 06:52:00 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-02-16 00:40:41 +0400 |
commit | acc4d023c57d07704b20a0955e4bf10ee91bdc83 (patch) | |
tree | 22d4baddf13c604f8c7d3d336460d5966ec9e638 /lib/prune.js | |
parent | 8a26f6ff7e9769985f74b60eed54e488a4d4a804 (diff) |
prune: Added back --production support
fixes #4509
Test by @isaacs
Diffstat (limited to 'lib/prune.js')
-rw-r--r-- | lib/prune.js | 2 |
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) |