outdated needed to see set changed
This commit is contained in:
parent
2768655119
commit
603b051f71
1 changed files with 5 additions and 1 deletions
|
@ -209,7 +209,11 @@ def main():
|
|||
changed = True
|
||||
npm.install()
|
||||
elif state == 'latest':
|
||||
npm.install()
|
||||
installed, missing = npm.list()
|
||||
outdated = npm.list_outdated()
|
||||
if len(missing) or len(outdated):
|
||||
changed = True
|
||||
npm.install()
|
||||
else: #absent
|
||||
installed, missing = npm.list()
|
||||
if name in installed:
|
||||
|
|
Loading…
Reference in a new issue