Browse Source

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

Jordan Harband 7 years ago
parent
commit
b6a7a54d04
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
  1. 2
      nvm.sh

2
nvm.sh

@ -206,7 +206,7 @@ nvm_install_latest_npm() { @@ -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

Loading…
Cancel
Save