Skip to content

Commit 0c15a89

Browse files
committed
fix: adjust line breaks in generated markdown output for consistency
1 parent 1cd17f2 commit 0c15a89

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

api/utils/markdown_generator.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ export class MarkdownGenerator {
8686
markdownTable = this.generatePRTable(prs, fields)
8787
}
8888
return [
89-
'',
89+
'\n',
9090
summary,
91-
'',
91+
'\n',
9292
markdownTable,
93-
''
94-
].join('\n')
93+
'\n'
94+
].join('')
9595
}
9696

9797
private static generatePRTable(prs: ProcessedPR[], fieldsParam: string): string {

scripts/update-markdown-pr-stats.cjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66478,10 +66478,12 @@ var MarkdownGenerator = class _MarkdownGenerator {
6647866478
markdownTable = this.generatePRTable(prs, fields);
6647966479
}
6648066480
return [
66481+
"\n",
6648166482
summary,
66482-
"",
66483-
markdownTable
66484-
].join("\n");
66483+
"\n",
66484+
markdownTable,
66485+
"\n"
66486+
].join("");
6648566487
}
6648666488
static generatePRTable(prs, fieldsParam) {
6648766489
const fields = this.parseFields(fieldsParam, this.PRFIELD_CONFIGS);

0 commit comments

Comments
 (0)