Skip to content

Commit 0be9a2d

Browse files
Milluebr
authored andcommitted
Update string formatting
1 parent d925f72 commit 0be9a2d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

installer/lib/messages.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,7 @@ def choose_version(available_releases: tuple | None = None) -> str:
8282
if available_releases is None:
8383
return "stable"
8484

85-
console.print(":grey_question: [orange3]Please choose an Invoke version to install.")
86-
87-
choices = available_releases[0] + available_releases[1]
88-
89-
response = prompt(
90-
message=f" <Enter> to install the recommended release ({choices[0]}). <Tab> or type to pick a version: ",
91-
complete_while_typing=True,
92-
completer=FuzzyWordCompleter(choices),
93-
)
94-
95-
console.print(f" Version {choices[0] if response == "" else response} will be installed.")
85+
console.print(f" Version {choices[0] if response == '' else response} will be installed.")
9686

9787
console.line()
9888

0 commit comments

Comments
 (0)