Allow NPM to update packages

reviewable/pr18780/r1
xiaclo 10 years ago
parent 495ad450e5
commit e362583abd

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