File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1240,7 +1240,7 @@ nvm_install_node_source() {
1240
1240
elif [ " _$NVM_OS " = " _sunos" ]; then
1241
1241
NVM_CPU_THREADS=" $( psrinfo | wc -l) "
1242
1242
fi
1243
- if [ ! nvm_is_natural_num " $NVM_CPU_THREADS " ] ; then
1243
+ if ! nvm_is_natural_num " $NVM_CPU_THREADS " ; then
1244
1244
echo " Can not determine how many thread(s) we can use, set to only 1 now." 1>&2
1245
1245
echo " Please report an issue on GitHub to help us make it better and run it faster on your computer!" 1>&2
1246
1246
NVM_MAKE_JOBS=" 1"
@@ -1587,7 +1587,7 @@ nvm() {
1587
1587
;;
1588
1588
-j)
1589
1589
shift # consume "-j"
1590
- if [ nvm_is_natural_num " $1 " ] ; then
1590
+ if nvm_is_natural_num " $1 " ; then
1591
1591
NVM_MAKE_JOBS=$1
1592
1592
echo " number of \` make\` jobs: $NVM_MAKE_JOBS "
1593
1593
else
You can’t perform that action at this time.
0 commit comments