Merge pull request #6355 from hkariti/npm_install_invalid

Add a package to missing list if npm list reported it as invalid
pull/6475/merge
Michael DeHaan 11 years ago
commit eaef86d22b

@ -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

Loading…
Cancel
Save