mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Fix] nvm install-latest-npm
: fix node 4-4.6
This commit is contained in:
parent
8a8dcbb393
commit
b6a7a54d04
2
nvm.sh
2
nvm.sh
@ -206,7 +206,7 @@ nvm_install_latest_npm() {
|
|||||||
NVM_IS_4_4_OR_BELOW=1
|
NVM_IS_4_4_OR_BELOW=1
|
||||||
fi
|
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_than_or_equal_to "${NODE_VERSION}" 5.0.0 \
|
||||||
&& nvm_version_greater 5.10.0 "${NODE_VERSION}"\
|
&& nvm_version_greater 5.10.0 "${NODE_VERSION}"\
|
||||||
); then
|
); then
|
||||||
|
Loading…
Reference in New Issue
Block a user