[Fix] ensure this variable is bound
Fixes #2926
parent
924d77cc90
commit
1f4bb91ae6
1
nvm.sh
1
nvm.sh
|
@ -1693,6 +1693,7 @@ nvm_print_versions() {
|
||||||
local DEFAULT_COLOR
|
local DEFAULT_COLOR
|
||||||
local LTS_COLOR
|
local LTS_COLOR
|
||||||
local NVM_HAS_COLORS
|
local NVM_HAS_COLORS
|
||||||
|
NVM_HAS_COLORS=0
|
||||||
|
|
||||||
INSTALLED_COLOR=$(nvm_get_colors 1)
|
INSTALLED_COLOR=$(nvm_get_colors 1)
|
||||||
SYSTEM_COLOR=$(nvm_get_colors 2)
|
SYSTEM_COLOR=$(nvm_get_colors 2)
|
||||||
|
|
Loading…
Reference in New Issue