Skip to content

Commit

Permalink
fix(prompts): double comma in 2 hints
Browse files Browse the repository at this point in the history
  • Loading branch information
cococonscious committed Oct 15, 2024
1 parent 103023c commit a0dbfc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/questions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ pub fn prompt_summary(msg: String) -> Result<String> {

#[cfg(not(tarpaulin_include))]
pub fn prompt_body() -> Result<Option<String>> {
let help_message = format!("{}, {}", "Use '\\n' for newlines, ", get_skip_hint());
let help_message = format!("{}, {}", "Use '\\n' for newlines", get_skip_hint());

let summary = Text::new("Provide a longer description of the change:")
.with_render_config(get_render_config())
Expand Down Expand Up @@ -207,7 +207,7 @@ pub fn prompt_breaking() -> Result<bool> {

#[cfg(not(tarpaulin_include))]
pub fn prompt_breaking_text() -> Result<Option<String>> {
let help_message = format!("{}, {}", "Use '\\n' for newlines, ", get_skip_hint());
let help_message = format!("{}, {}", "Use '\\n' for newlines", get_skip_hint());

let breaking_text = Text::new("Describe the breaking changes in detail:")
.with_render_config(get_render_config())
Expand Down

0 comments on commit a0dbfc7

Please sign in to comment.