Skip to content

Commit

Permalink
adjust input prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteHerrmann committed Nov 6, 2024
1 parent cc297ad commit 0d73e4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ pub fn get_description(default_value: &str) -> Result<String, InputError> {

pub fn get_permission_to_push(branch: &str) -> Result<bool, InputError> {
match Select::new(
format!("Branch {} not found on remote. Push the branch?", branch).as_str(),
format!(
"Branch {} not found on remote 'origin'. Push the branch?",
branch
)
.as_str(),
vec!["yes", "no"],
)
.prompt()?
Expand Down

0 comments on commit 0d73e4a

Please sign in to comment.