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
1 changed files with 5 additions and 2 deletions

View File

@ -6,8 +6,11 @@ cd $(git rev-parse --show-toplevel)
if ! type npm > /dev/null
then
echo "npm is not installed, please install via nvm(recommended) or package manager"
echo "setup will not be run"
cat << EOF
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
fi