Skip to content

Commit

Permalink
fix(reg-notify-github-with-api-plugin): fix table style
Browse files Browse the repository at this point in the history
  • Loading branch information
shimapon committed Mar 1, 2024
1 parent 4d97174 commit c9364a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/reg-notify-github-with-api-plugin/src/create-comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c9364a5

Please sign in to comment.