mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-08-17 11:03:44 +00:00
Compare commits
No commits in common. "29779056708136fe30d2d37ad442482d7640fc90" and "df9ec5851271f550f2af4b7d23705d78c901f881" have entirely different histories.
2977905670
...
df9ec58512
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