diff --git a/library/packaging/npm b/library/packaging/npm index 3a4cd13f5d..1982550258 100644 --- a/library/packaging/npm +++ b/library/packaging/npm @@ -209,12 +209,7 @@ def main(): changed = True npm.install() elif state == 'latest': - installed, missing = npm.list() - outdated = npm.list_outdated() - if len(missing) or len(outdated): - changed = True - npm.install() - npm.update() + npm.install() else: #absent installed, missing = npm.list() if name in installed: