[Fix] ensure this variable is bound

Fixes #2926
Jordan Harband 2022-10-26 10:12:06 -07:00
parent 924d77cc90
commit 1f4bb91ae6
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 1 additions and 0 deletions

1
nvm.sh
View File

@ -1693,6 +1693,7 @@ nvm_print_versions() {
local DEFAULT_COLOR
local LTS_COLOR
local NVM_HAS_COLORS
NVM_HAS_COLORS=0
INSTALLED_COLOR=$(nvm_get_colors 1)
SYSTEM_COLOR=$(nvm_get_colors 2)