Skip to content

Commit 4974cb2

Browse files
committed
chore: update changelog.ts
1 parent 9cc0e9b commit 4974cb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/changelog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const changelogFunctions = {
6363
const shortCommitId = commitFromSummary.slice(0, 7)
6464
links = {
6565
...links,
66-
commit: shortCommitId,
66+
commit: `[\`${shortCommitId}\`](https://github.com/${options.repo}/commit/${shortCommitId})`,
6767
}
6868
}
6969
return links
@@ -104,7 +104,7 @@ const changelogFunctions = {
104104
links.commit === null ? "" : ` ${links.commit}`,
105105
].join("")
106106

107-
return `- ${annotation} ${firstLine.replace(" ", " ")}${
107+
return `- ${annotation} ${firstLine}${
108108
prefix ? ` ${prefix}` : ""
109109
}\n${futureLines
110110
.map((l) => ` ${l.replace(" ", " ")}`)

0 commit comments

Comments
 (0)