Skip to content

Commit 1dce063

Browse files
ryenusljharb
andcommitted
avoid inline initialization for ksh compatibility
Co-authored-by: Jordan Harband <[email protected]>
1 parent ceff60c commit 1dce063

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nvm.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4061,7 +4061,8 @@ nvm() {
40614061
;;
40624062
"ls-remote" | "list-remote")
40634063
local NVM_LTS
4064-
local NVM_MIN="${NVM_MIN-}"
4064+
local NVM_MIN
4065+
NVM_MIN="${NVM_MIN-}"
40654066
local PATTERN
40664067
local NVM_NO_COLORS
40674068

0 commit comments

Comments
 (0)