Merge pull request #446 from xiaclo/patch-1

Allow NPM to update packages
This commit is contained in:
Brian Coca 2015-11-10 09:42:14 -08:00
commit 7d8dd6e210

View file

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