Trim whitespace of change-notes before insertion

This commit is contained in:
Mario Campos
2026-10-06 12:16:16 -05:00
parent fb4048e3e7
commit badda692f4

View File

@@ -58,7 +58,7 @@ function getChangenotes(): ChangenoteFile[] {
*/
export function transferChangenotesToChangelog(contents: string): string {
const changenotes = getChangenotes();
const changenoteBodies = changenotes.map((c) => c.content);
const changenoteBodies = changenotes.map((c) => c.content.trim());
const changenotePaths = changenotes.map((c) => c.absolutePath);
const changelog = parseChangelog(contents);