fix: resolve AnalysisResult import issue in prompt.rs
Some checks failed
CI / build (push) Failing after 36s

This commit is contained in:
2026-02-01 12:52:48 +00:00
parent 570770cf48
commit ecb386ebda

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{}\n", message))
"\n# Edit your commit message below:\n{}\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 {