mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
cli: Don't strip initial message from editor
This was problematic when the initial message was a valid default.
This commit is contained in:
@@ -40,7 +40,7 @@ pub fn handle_patch_message(
|
||||
let (title, description) = (title.trim(), description.trim());
|
||||
|
||||
if title.is_empty() {
|
||||
anyhow::bail!("a title must be given");
|
||||
anyhow::bail!("a patch title must be provided");
|
||||
}
|
||||
|
||||
Ok((title.to_string(), description.to_owned()))
|
||||
|
||||
Reference in New Issue
Block a user