From b1668d6234eb740e49d28a1b1b78a3947d629516 Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Mon, 21 Sep 2026 16:40:26 -0500 Subject: [PATCH] Flesh out a comment --- pr-checks/changelog.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pr-checks/changelog.ts b/pr-checks/changelog.ts index af79666d2..496310d21 100644 --- a/pr-checks/changelog.ts +++ b/pr-checks/changelog.ts @@ -163,7 +163,9 @@ export function addBodyLinesToUnreleasedSection( return; } - unreleasedSection.bodyLines.pop(); // Remove the last empty line. + // The last body line should be a blank line (for spacing). + // Remove it so that we can add `lines` and then add the blank line back. + unreleasedSection.bodyLines.pop(); unreleasedSection.bodyLines.push(...lines); unreleasedSection.bodyLines.push(""); }