1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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