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() {
1856
1856
fi
1857
1857
1858
1858
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} " \
1860
1860
-v installed_versions=" $( nvm_ls | tr ' \n' ' |' ) " -v current=" $NVM_CURRENT " \
1861
1861
-v installed_color=" $INSTALLED_COLOR " -v system_color=" $SYSTEM_COLOR " \
1862
1862
-v current_color=" $CURRENT_COLOR " -v default_color=" $DEFAULT_COLOR " \
@@ -1879,7 +1879,7 @@ BEGIN {
1879
1879
split(remote_versions, lines, "|");
1880
1880
split(installed_versions, installed, "|");
1881
1881
rows = alen(lines);
1882
- filter_on = (vcmp("v0.0.0", min_ver ) != 0);
1882
+ filter_on = (vcmp("v0.0.0", min ) != 0);
1883
1883
current_major = -1;
1884
1884
for (m = n = 1; n <= rows; n++) {
1885
1885
split(lines[n], fields, "[[:blank:]]+");
@@ -1896,7 +1896,7 @@ BEGIN {
1896
1896
if (filter_on != 0) {
1897
1897
if (is_installed) {
1898
1898
current_major = v2m(version);
1899
- } else if (vcmp(version, min_ver ) >= 0) {
1899
+ } else if (vcmp(version, min ) >= 0) {
1900
1900
filter_on = 0;
1901
1901
} else if (v2m(version) != current_major) {
1902
1902
continue;
You can’t perform that action at this time.
0 commit comments