fix: Separate modules properly - cli.rs and git.rs now independent
Some checks failed
CI / lint (push) Failing after 3s
CI / build (push) Has been skipped
CI / test (push) Has been skipped

This commit is contained in:
2026-02-01 12:44:50 +00:00
parent 34e1f0acdf
commit c1efcdc443

View File

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