avoid inline initialization for ksh compatibility

Co-authored-by: Jordan Harband <ljharb@gmail.com>
This commit is contained in:
ryenus 2024-07-15 14:45:57 +08:00 committed by GitHub
parent df9ec58512
commit 547f50a137
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
nvm.sh
View File

@ -4013,7 +4013,8 @@ nvm() {
;; ;;
"ls-remote" | "list-remote") "ls-remote" | "list-remote")
local NVM_LTS local NVM_LTS
local NVM_MIN="${NVM_MIN-}" local NVM_MIN
NVM_MIN="${NVM_MIN-}"
local PATTERN local PATTERN
local NVM_NO_COLORS local NVM_NO_COLORS