fix(installer): print correct version when a non-default version is selected

This commit is contained in:
Eugene Brodsky 2024-02-08 09:56:56 -05:00
parent 2175fe3823
commit c9e246ed1b

View File

@ -92,7 +92,8 @@ def choose_version(available_releases: tuple | None = None) -> str:
completer=FuzzyWordCompleter(choices), completer=FuzzyWordCompleter(choices),
) )
console.print(f" Version {choices[0]} will be installed.") console.print(f" Version {choices[0] if response == "" else response} will be installed.")
console.line() console.line()
return "stable" if response == "" else response return "stable" if response == "" else response