summaryrefslogtreecommitdiff
path: root/src/bin/jv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/jv.rs')
-rw-r--r--src/bin/jv.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/jv.rs b/src/bin/jv.rs
index de92a69..2aa7b92 100644
--- a/src/bin/jv.rs
+++ b/src/bin/jv.rs
@@ -2670,7 +2670,10 @@ async fn start_update_editor(
// Get description (all content after the separator)
let description = lines[sep_idx + 1..].join("\n").trim().to_string();
- update_info.insert(path, (new_version.to_string(), description));
+ // Only add to update_info if description is not empty after trimming
+ if !description.is_empty() {
+ update_info.insert(path, (new_version.to_string(), description));
+ }
}
}
}