Flesh out a comment

This commit is contained in:
Mario Campos
2026-09-21 16:40:26 -05:00
parent c0bd54fdf4
commit b1668d6234

View File

@@ -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("");
}