Skip to content

Commit

Permalink
Use proper method to set prompt message
Browse files Browse the repository at this point in the history
  • Loading branch information
ASleepyCat committed Jul 31, 2023
1 parent 7da6736 commit 9396301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ fn get_version_from_module(versions: &[String]) -> Result<Option<String>> {
}

fn get_version_from_user_prompt(versions: &[String]) -> Result<Option<String>> {
println!("Select a Terraform version to install");
match Select::with_theme(&ColorfulTheme::default())
.with_prompt("Select a Terraform version to install")
.items(versions)
.default(0)
.interact_opt()
Expand Down

0 comments on commit 9396301

Please sign in to comment.