mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 16:13:12 +09:00
Add a newline after each section title in change log
This commit is contained in:
1 file changed
+1
-1
@@ -191,7 +191,7 @@ function printMarkdown(changelog: Changelog, issues: Issue[], refText: (issue: I
|
|||||||
const sections = new Set([...changelogSections, ...Object.keys(changelog)]);
|
const sections = new Set([...changelogSections, ...Object.keys(changelog)]);
|
||||||
for (const section of sections) {
|
for (const section of sections) {
|
||||||
if (section in changelog) {
|
if (section in changelog) {
|
||||||
console.log(`### ${section}`);
|
console.log(`### ${section}\n`);
|
||||||
const entries = changelog[section];
|
const entries = changelog[section];
|
||||||
console.log(entries.map(text => (
|
console.log(entries.map(text => (
|
||||||
`- ${text.replaceAll(/#(\d+)/g, (ref, idAsText) => {
|
`- ${text.replaceAll(/#(\d+)/g, (ref, idAsText) => {
|
||||||
|
|||||||
Reference in new issue
Block a user