Skip to content

Commit ba7b19d

Browse files
improve version review spacing
1 parent 7aa605e commit ba7b19d

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

crates/core/src/version.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -397,11 +397,10 @@ pub fn orchestrate_many(
397397

398398
fn render_final_review(summary_text: &str, diff_stat: &str, opts: &VersionOptions) -> String {
399399
let mut out = String::new();
400-
out.push_str(summary_text);
400+
out.push_str(summary_text.trim_end());
401+
out.push_str("\n\n");
401402
if opts.skip_pr {
402-
out.push_str(
403-
"⚠️ GitHub CLI (`gh`) is unavailable, so PR creation will be skipped after push.\n\n",
404-
);
403+
out.push_str("⚠️ GitHub CLI (`gh`) is unavailable, so PR creation will be skipped after push.\n\n\n");
405404
}
406405
out.push_str("Changed Files:\n");
407406
if diff_stat.trim().is_empty() {
@@ -413,7 +412,7 @@ fn render_final_review(summary_text: &str, diff_stat: &str, opts: &VersionOption
413412
out.push('\n');
414413
}
415414
}
416-
out.push('\n');
415+
out.push_str("\n\n");
417416
out
418417
}
419418

0 commit comments

Comments
 (0)