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

Ensure npm packages actually are installed in a reachable way.
This commit is contained in:
James Cammarata 2014-08-07 11:49:07 -05:00
commit 769a5738e3

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)