Skip to content

Commit

Permalink
Update message when auto installation is disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolai Mishin <sanduku.default@gmail.com>
  • Loading branch information
Nmishin committed Jun 24, 2024
1 parent 8dff60d commit 4a95c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versionmanager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func (m VersionManager) Use(requestedVersion string, workingDir bool) error {
func (m VersionManager) autoInstallDisabledMsg(version string) error {
cmdName := strings.ToLower(m.FolderName)
m.conf.Displayer.Flush(false) // Always normal display when installation is missing
m.conf.Displayer.Display(loghelper.Concat("Auto-install is disabled. To install ", version, " version you can set environment variable TENV_AUTO_INSTALL=true, or install it via any of the following command: 'tenv ", cmdName, " install', 'tenv ", cmdName, " install ", version, "'"))
m.conf.Displayer.Display(loghelper.Concat("Auto-install is disabled. To install ", version, " version you can set environment variable TENV_AUTO_INSTALL=true, or install it via following command: 'tenv ", cmdName, " install ", version, "'"))

return errNoCompatibleLocally
}
Expand Down

0 comments on commit 4a95c99

Please sign in to comment.