Skip to content

Commit b6a7a54

Browse files
committed
[Fix] nvm install-latest-npm: fix node 4-4.6
1 parent 8a8dcbb commit b6a7a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ nvm_install_latest_npm() {
206206
NVM_IS_4_4_OR_BELOW=1
207207
fi
208208

209-
if $NVM_IS_4_4_OR_BELOW -eq 1 || (\
209+
if [ $NVM_IS_4_4_OR_BELOW -eq 1 ] || (\
210210
nvm_version_greater_than_or_equal_to "${NODE_VERSION}" 5.0.0 \
211211
&& nvm_version_greater 5.10.0 "${NODE_VERSION}"\
212212
); then

0 commit comments

Comments
 (0)