We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563bbe4 commit 0862467Copy full SHA for 0862467
scripts/changelog.ts
@@ -100,13 +100,15 @@ const changelogFunctions = {
100
}
101
102
const prefix = [
103
- links.pull === null ? "" : `${links.pull}`,
104
- links.commit === null ? "" : `${links.commit}`,
+ links.pull === null ? "" : ` ${links.pull}`,
+ links.commit === null ? "" : ` ${links.commit}`,
105
].join("")
106
107
- return `- ${annotation} ${firstLine}${
108
- prefix ? `${prefix}` : ""
109
- }\n${futureLines.map((l) => ` ${l}`).join("\n")}`
+ return `- ${annotation} ${firstLine.replace(" ", " ")}${
+ prefix ? ` ${prefix}` : ""
+ }\n${futureLines
110
+ .map((l) => ` ${l.replace(" ", " ")}`)
111
+ .join("\n")}`
112
},
113
114
0 commit comments