Commit 5655ffa8 by Joey Baker

outdated needed to see set `changed`

parent 242bfd8c
......@@ -209,6 +209,10 @@ def main():
changed = True
npm.install()
elif state == 'latest':
installed, missing = npm.list()
outdated = npm.list_outdated()
if len(missing) or len(outdated):
changed = True
npm.install()
else: #absent
installed, missing = npm.list()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment