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 @@ -1856,7 +1856,7 @@ nvm_print_versions() {
18561856 fi
18571857
18581858 command awk \
1859- -v remote_versions=" $( printf ' %s' " ${1-} " | tr ' \n' ' |' ) " -v min_ver =" ${NVM_MIN:- v0} " \
1859+ -v remote_versions=" $( printf ' %s' " ${1-} " | tr ' \n' ' |' ) " -v min =" ${NVM_MIN:- v0} " \
18601860 -v installed_versions=" $( nvm_ls | tr ' \n' ' |' ) " -v current=" $NVM_CURRENT " \
18611861 -v installed_color=" $INSTALLED_COLOR " -v system_color=" $SYSTEM_COLOR " \
18621862 -v current_color=" $CURRENT_COLOR " -v default_color=" $DEFAULT_COLOR " \
@@ -1879,7 +1879,7 @@ BEGIN {
18791879 split(remote_versions, lines, "|");
18801880 split(installed_versions, installed, "|");
18811881 rows = alen(lines);
1882- filter_on = (vcmp("v0.0.0", min_ver ) != 0);
1882+ filter_on = (vcmp("v0.0.0", min ) != 0);
18831883 current_major = -1;
18841884 for (m = n = 1; n <= rows; n++) {
18851885 split(lines[n], fields, "[[:blank:]]+");
@@ -1896,7 +1896,7 @@ BEGIN {
18961896 if (filter_on != 0) {
18971897 if (is_installed) {
18981898 current_major = v2m(version);
1899- } else if (vcmp(version, min_ver ) >= 0) {
1899+ } else if (vcmp(version, min ) >= 0) {
19001900 filter_on = 0;
19011901 } else if (v2m(version) != current_major) {
19021902 continue;
You can’t perform that action at this time.
0 commit comments