cli: Don't strip initial message from editor

This was problematic when the initial message was a valid default.
This commit is contained in:
Alexis Sellier
2023-03-23 14:43:21 +01:00
parent 63fc06c817
commit 6c1e2d0ddd
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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()))