From c1efcdc443303d84b5ea796a2775069411ba34a9 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 12:44:50 +0000 Subject: [PATCH] fix: Separate modules properly - cli.rs and git.rs now independent --- src/prompt.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/prompt.rs b/src/prompt.rs index d07f14d..3414db0 100644 --- a/src/prompt.rs +++ b/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{}", - message - )) + .edit(&format!("\n# Edit your commit message below:\n{}", message)) .map_err(|e| anyhow::anyhow!("Failed to open editor: {}", e))?; match edited {