Ensure named packages not in top level are marked as missing.

pull/8475/head
Christophe Biocca 10 years ago
parent e90d2573d1
commit c3e2f5c663

@ -163,6 +163,8 @@ class Npm(object):
missing.append(dep)
else:
installed.append(dep)
if self.name and self.name not in installed:
missing.append(self.name)
#Named dependency not installed
else:
missing.append(self.name)

Loading…
Cancel
Save