From 1771494895b55a2df18ca7e82ad2649d095174b2 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 5 Jun 2019 09:51:02 +0200 Subject: [PATCH] Fix npm update --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update b/bin/update index 999e05a..0ec854a 100755 --- a/bin/update +++ b/bin/update @@ -266,7 +266,7 @@ update-npm() { for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) do - npm -g install "$package" + npm install -g `echo $package | cut -d '@' -f 1` done seconds=$((`date +%s` - $start_npm_update ))