Skip to content

Commit b1668d6

Browse files
committed
Flesh out a comment
1 parent c0bd54f commit b1668d6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎pr-checks/changelog.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ export function addBodyLinesToUnreleasedSection(
163163
return;
164164
}
165165

166-
unreleasedSection.bodyLines.pop(); // Remove the last empty line.
166+
// The last body line should be a blank line (for spacing).
167+
// Remove it so that we can add `lines` and then add the blank line back.
168+
unreleasedSection.bodyLines.pop();
167169
unreleasedSection.bodyLines.push(...lines);
168170
unreleasedSection.bodyLines.push("");
169171
}

0 commit comments

Comments
 (0)