Merge pull request #548 from BanzaiMan/ha-bug-npm-update

Fix npm update code
master
Jordan Harband 2014-10-12 16:35:13 -07:00
commit 370dfcab7c
1 changed files with 2 additions and 2 deletions

4
nvm.sh
View File

@ -675,10 +675,10 @@ nvm() {
if nvm_version_greater 0.2.3 "$VERSION"; then
echo "npm requires node v0.2.3 or higher" >&2
else
nvm_download https://npmjs.org/install.sh -o - | clean=yes npm_install=0.2.19 sh
nvm_download -L https://npmjs.org/install.sh -o - | clean=yes npm_install=0.2.19 sh
fi
else
nvm_download https://npmjs.org/install.sh -o - | clean=yes sh
nvm_download -L https://npmjs.org/install.sh -o - | clean=yes sh
fi
fi
else