Merge pull request #8475 from christophebiocca/fix-npm-command

Ensure npm packages actually are installed in a reachable way.
pull/4420/head
James Cammarata 2014-08-07 11:49:07 -05:00
commit 769a5738e3
1 changed files with 2 additions and 0 deletions

View File

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