diff --git a/packaging/language/npm.py b/packaging/language/npm.py index 8407589116a..6f3767988e1 100644 --- a/packaging/language/npm.py +++ b/packaging/language/npm.py @@ -250,7 +250,7 @@ def main(): outdated = npm.list_outdated() if len(missing) or len(outdated): changed = True - npm.install() + npm.update() else: #absent installed, missing = npm.list() if name in installed: