Ensure named packages not in top level are marked as missing.
This commit is contained in:
parent
e90d2573d1
commit
c3e2f5c663
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue