diff options
Diffstat (limited to 'deps/npm/lib/ls.js')
-rw-r--r-- | deps/npm/lib/ls.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/deps/npm/lib/ls.js b/deps/npm/lib/ls.js index 1c92920828..dbaae5190e 100644 --- a/deps/npm/lib/ls.js +++ b/deps/npm/lib/ls.js @@ -120,7 +120,6 @@ function filterByEnv (data) { var devDependencies = data.devDependencies || [] Object.keys(data.dependencies).forEach(function (name) { var keys = Object.keys(devDependencies) - if (production && !dev && keys.indexOf(name) !== -1) return if (dev && !production && keys.indexOf(name) === -1) return if (!dev && keys.indexOf(name) !== -1 && data.dependencies[name].missing) return dependencies[name] = data.dependencies[name] |