File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1841,7 +1841,7 @@ nvm_print_versions() {
18411841 fi
18421842
18431843 command awk \
1844- -v remote_versions=" $( printf ' %s' " ${1-} " | tr ' \n' ' |' ) " -v min_ver =" ${NVM_MIN:- v0} " \
1844+ -v remote_versions=" $( printf ' %s' " ${1-} " | tr ' \n' ' |' ) " -v min =" ${NVM_MIN:- v0} " \
18451845 -v installed_versions=" $( nvm_ls | tr ' \n' ' |' ) " -v current=" $NVM_CURRENT " \
18461846 -v installed_color=" $INSTALLED_COLOR " -v system_color=" $SYSTEM_COLOR " \
18471847 -v current_color=" $CURRENT_COLOR " -v default_color=" $DEFAULT_COLOR " \
@@ -1864,7 +1864,7 @@ BEGIN {
18641864 split(remote_versions, lines, "|");
18651865 split(installed_versions, installed, "|");
18661866 rows = alen(lines);
1867- filter_on = (vcmp("v0.0.0", min_ver ) != 0);
1867+ filter_on = (vcmp("v0.0.0", min ) != 0);
18681868 current_major = -1;
18691869 for (m = n = 1; n <= rows; n++) {
18701870 split(lines[n], fields, "[[:blank:]]+");
@@ -1881,7 +1881,7 @@ BEGIN {
18811881 if (filter_on != 0) {
18821882 if (is_installed != 0) {
18831883 current_major = v2m(version);
1884- } else if (vcmp(version, min_ver ) >= 0) {
1884+ } else if (vcmp(version, min ) >= 0) {
18851885 filter_on = 0;
18861886 } else if (v2m(version) != current_major) {
18871887 continue;
You can’t perform that action at this time.
0 commit comments