Merge pull request #446 from xiaclo/patch-1
Allow NPM to update packages
This commit is contained in:
commit
7d8dd6e210
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue