Skip to content

Commit 301cfa1

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

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
@@ -4135,7 +4135,8 @@ nvm() {
41354135
;;
41364136
"ls-remote" | "list-remote")
41374137
local NVM_LTS
4138-
local NVM_MIN="${NVM_MIN-}"
4138+
local NVM_MIN
4139+
NVM_MIN="${NVM_MIN-}"
41394140
local PATTERN
41404141
local NVM_NO_COLORS
41414142

0 commit comments

Comments
 (0)