mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Ensure named packages not in top level are marked as missing.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user