[Fix] `nvm install-latest-npm`: fix node 4-4.6

Jordan Harband 2017-12-08 21:20:59 -08:00
parent 8a8dcbb393
commit b6a7a54d04
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -206,7 +206,7 @@ nvm_install_latest_npm() {
NVM_IS_4_4_OR_BELOW=1
fi
if $NVM_IS_4_4_OR_BELOW -eq 1 || (\
if [ $NVM_IS_4_4_OR_BELOW -eq 1 ] || (\
nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 5.0.0 \
&& nvm_version_greater 5.10.0 "${NODE_VERSION}"\
); then