fix: resolve AnalysisResult import issue in prompt.rs
Some checks failed
CI / build (push) Failing after 36s
Some checks failed
CI / build (push) Failing after 36s
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user