Skip to content

Commit 5cffcaf

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

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
@@ -4109,7 +4109,8 @@ nvm() {
41094109
;;
41104110
"ls-remote" | "list-remote")
41114111
local NVM_LTS
4112-
local NVM_MIN="${NVM_MIN-}"
4112+
local NVM_MIN
4113+
NVM_MIN="${NVM_MIN-}"
41134114
local PATTERN
41144115
local NVM_NO_COLORS
41154116

0 commit comments

Comments
 (0)