From badda692f46e206a8144c3017fb33d8417b31cc6 Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Tue, 6 Oct 2026 12:16:16 -0500 Subject: [PATCH] Trim whitespace of change-notes before insertion --- pr-checks/changenotes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr-checks/changenotes.ts b/pr-checks/changenotes.ts index a5888a411..d05f4ea89 100755 --- a/pr-checks/changenotes.ts +++ b/pr-checks/changenotes.ts @@ -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);