Allow NPM to update packages

pull/18777/head
xiaclo 10 years ago committed by Matt Clay
parent 83bf44c78f
commit b36b12e968

@ -250,7 +250,7 @@ def main():
outdated = npm.list_outdated() outdated = npm.list_outdated()
if len(missing) or len(outdated): if len(missing) or len(outdated):
changed = True changed = True
npm.install() npm.update()
else: #absent else: #absent
installed, missing = npm.list() installed, missing = npm.list()
if name in installed: if name in installed:

Loading…
Cancel
Save