mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-20 04:23:43 +00:00
Compare commits
15 Commits
e8f3187e51
...
69261939ba
Author | SHA1 | Date | |
---|---|---|---|
![]() |
69261939ba | ||
![]() |
3e15282773 | ||
![]() |
060adbd05e | ||
![]() |
08f28abbdd | ||
![]() |
1f3af439c3 | ||
![]() |
686d33b066 | ||
![]() |
e77828a448 | ||
![]() |
2749487689 | ||
![]() |
cb267d6302 | ||
![]() |
646e3bb869 | ||
![]() |
a2996f3b0e | ||
![]() |
4c67ced319 | ||
![]() |
f4c2477a0b | ||
![]() |
5b57613aac | ||
![]() |
be4f15d833 |
4
nvm.sh
4
nvm.sh
@ -1894,7 +1894,7 @@ BEGIN {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (filter_on != 0) {
|
if (filter_on != 0) {
|
||||||
if (is_installed != 0) {
|
if (is_installed) {
|
||||||
current_major = v2m(version);
|
current_major = v2m(version);
|
||||||
} else if (vcmp(version, min) >= 0) {
|
} else if (vcmp(version, min) >= 0) {
|
||||||
filter_on = 0;
|
filter_on = 0;
|
||||||
@ -1908,7 +1908,7 @@ BEGIN {
|
|||||||
fmt_version = fmt_current;
|
fmt_version = fmt_current;
|
||||||
} else if (version == "system") {
|
} else if (version == "system") {
|
||||||
fmt_version = fmt_system;
|
fmt_version = fmt_system;
|
||||||
} else if (is_installed != 0) {
|
} else if (is_installed) {
|
||||||
fmt_version = fmt_installed;
|
fmt_version = fmt_installed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user