Skip to content

Commit

Permalink
Merge pull request #185 from tofuutils/fix/message
Browse files Browse the repository at this point in the history
Update message when auto installation is disabled
  • Loading branch information
kvendingoldo authored Jun 24, 2024
2 parents 8dff60d + 4a95c99 commit 32b0937
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 32b0937

Please sign in to comment.