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:
commit
769a5738e3
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue