fix: Separate modules properly - cli.rs and git.rs now independent
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{}", 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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user