Skip to content

Commit 1f4bb91

Browse files
committed
[Fix] ensure this variable is bound
Fixes #2926
1 parent 924d77c commit 1f4bb91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nvm.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,7 @@ nvm_print_versions() {
16931693
local DEFAULT_COLOR
16941694
local LTS_COLOR
16951695
local NVM_HAS_COLORS
1696+
NVM_HAS_COLORS=0
16961697

16971698
INSTALLED_COLOR=$(nvm_get_colors 1)
16981699
SYSTEM_COLOR=$(nvm_get_colors 2)

0 commit comments

Comments
 (0)