mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-16 10:43:42 +00:00
Compare commits
4 Commits
2ff58fa0fc
...
cfeaf2eb86
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cfeaf2eb86 | ||
![]() |
2977905670 | ||
![]() |
dffecf89bf | ||
![]() |
547f50a137 |
5
nvm.sh
5
nvm.sh
@ -4013,9 +4013,12 @@ nvm() {
|
||||
;;
|
||||
"ls-remote" | "list-remote")
|
||||
local NVM_LTS
|
||||
local NVM_MIN="${NVM_MIN-}"
|
||||
local PATTERN
|
||||
local NVM_NO_COLORS
|
||||
local NVM_MIN_ENV
|
||||
NVM_MIN_ENV="${NVM_MIN-}"
|
||||
local NVM_MIN
|
||||
NVM_MIN="${NVM_MIN_ENV-}"
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
case "${1-}" in
|
||||
|
@ -8,6 +8,7 @@ cleanup() {
|
||||
unset -f nvm_remote_versions nvm_ls nvm_ls_current
|
||||
if [ -n "$TEMP_NVM_MIN" ]; then
|
||||
export NVM_MIN="$TEMP_NVM_MIN"
|
||||
unset TEMP_NVM_MIN
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user