Commit eaef86d2 by Michael DeHaan

Merge pull request #6355 from hkariti/npm_install_invalid

Add a package to missing list if npm list reported it as invalid
parents 92f9f50f 748e8a77
......@@ -143,6 +143,8 @@ class Npm(object):
for dep in data['dependencies']:
if 'missing' in data['dependencies'][dep] and data['dependencies'][dep]['missing']:
missing.append(dep)
elif 'invalid' in data['dependencies'][dep] and data['dependencies'][dep]['invalid']:
missing.append(dep)
else:
installed.append(dep)
#Named dependency not installed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment