diff --git a/app/auto-commit/src/prompt.rs b/app/auto-commit/src/prompt.rs index efd375a..bdfb71c 100644 --- a/app/auto-commit/src/prompt.rs +++ b/app/auto-commit/src/prompt.rs @@ -50,10 +50,7 @@ pub fn confirm_message(message: &str, alternatives: &[String]) -> Result<(bool, if edit_prompt { let edited = dialoguer::Editor::new() - .edit(&format!( - "\n# Edit your commit message below:\n{}\n", - message - )) + .edit(&format!("\n# Edit your commit message below:\n{}\n", message)) .map_err(|e| anyhow::anyhow!("Failed to open editor: {}", e))?; match edited {