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