Do not recommend anything in setup script

This commit is contained in:
Yukai Huang 2016-10-05 14:09:39 +08:00
parent 6f53d40d6a
commit 69c14a274d

View file

@ -6,8 +6,11 @@ cd $(git rev-parse --show-toplevel)
if ! type npm > /dev/null if ! type npm > /dev/null
then then
echo "npm is not installed, please install via nvm(recommended) or package manager" cat << EOF
echo "setup will not be run" npm is not installed, please install Node.js and npm.
Read more on Node.js official website: https://nodejs.org
Setup will not be run
EOF
exit 0 exit 0
fi fi