Don't npm update if no ~/.npmbin

This commit is contained in:
2019-03-21 17:56:49 +01:00
parent e926df21ac
commit 688cc1a5fb

View File

@@ -196,6 +196,10 @@ update-npm() {
return
fi
if [ ! -d ~/.npmbin ]; then
return
fi
start_npm_update=`date +%s`
echo "\033[32;1m=== Updating node packages ===\033[0m"