outdated needed to see set `changed`

reviewable/pr18780/r1
Joey Baker 11 years ago
parent 2768655119
commit 603b051f71

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

Loading…
Cancel
Save