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 @@ -1837,7 +1837,7 @@ nvm_print_versions() {
18371837 fi
18381838
18391839 command awk \
1840- -v remote_versions=" $( printf ' %s' " ${1-} " | tr ' \n' ' |' ) " -v min_ver =" ${NVM_MIN:- v0} " \
1840+ -v remote_versions=" $( printf ' %s' " ${1-} " | tr ' \n' ' |' ) " -v min =" ${NVM_MIN:- v0} " \
18411841 -v installed_versions=" $( nvm_ls | tr ' \n' ' |' ) " -v current=" $NVM_CURRENT " \
18421842 -v installed_color=" $INSTALLED_COLOR " -v system_color=" $SYSTEM_COLOR " \
18431843 -v current_color=" $CURRENT_COLOR " -v default_color=" $DEFAULT_COLOR " \
@@ -1860,7 +1860,7 @@ BEGIN {
18601860 split(remote_versions, lines, "|");
18611861 split(installed_versions, installed, "|");
18621862 rows = alen(lines);
1863- filter_on = (vcmp("v0.0.0", min_ver ) != 0);
1863+ filter_on = (vcmp("v0.0.0", min ) != 0);
18641864 current_major = -1;
18651865 for (m = n = 1; n <= rows; n++) {
18661866 split(lines[n], fields, "[[:blank:]]+");
@@ -1877,7 +1877,7 @@ BEGIN {
18771877 if (filter_on != 0) {
18781878 if (is_installed != 0) {
18791879 current_major = v2m(version);
1880- } else if (vcmp(version, min_ver ) >= 0) {
1880+ } else if (vcmp(version, min ) >= 0) {
18811881 filter_on = 0;
18821882 } else if (v2m(version) != current_major) {
18831883 continue;
You can’t perform that action at this time.
0 commit comments