diff --git a/packages/reg-notify-github-with-api-plugin/src/create-comment.ts b/packages/reg-notify-github-with-api-plugin/src/create-comment.ts index 63313b34..2bbbe249 100644 --- a/packages/reg-notify-github-with-api-plugin/src/create-comment.ts +++ b/packages/reg-notify-github-with-api-plugin/src/create-comment.ts @@ -38,11 +38,11 @@ function shortDescription({ const headerDelimiter = filteredDescriptions.map(() => " --- "); const itemCount = filteredDescriptions.map(([itemCount]) => itemCount); - return ` - | ${headerColumns.join(" | ")} | - | ${headerDelimiter.join(" | ")} | - | ${itemCount.join(" | ")} | - `; + return [ + `| ${headerColumns.join(" | ")} |`, + `| ${headerDelimiter.join(" | ")} |`, + `| ${itemCount.join(" | ")} |`, + ].join("\n"); } function longDescription(eventBody: CommentSeed) {