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

This commit is contained in:
Christophe Biocca 2014-08-06 10:52:58 -04:00
parent e90d2573d1
commit c3e2f5c663

View file

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