Fix npm update

This commit is contained in:
Thomas Forgione 2019-06-05 09:51:02 +02:00
parent 5ecc22db41
commit 1771494895
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 1 deletions

View File

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