Don't npm update if no ~/.npmbin
This commit is contained in:
parent
e926df21ac
commit
688cc1a5fb
|
@ -196,6 +196,10 @@ update-npm() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -d ~/.npmbin ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
start_npm_update=`date +%s`
|
start_npm_update=`date +%s`
|
||||||
echo "\033[32;1m=== Updating node packages ===\033[0m"
|
echo "\033[32;1m=== Updating node packages ===\033[0m"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue