Skip to content

Commit 4128f47

Browse files
committed
fix: invalid github issues url in previous commit
1 parent 1d07eab commit 4128f47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/changelog-github-custom.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ const changelogFunctions = {
7171
// add links to issue hints (fix #123) => (fix [#123](https://....))
7272
const linkifyIssueHints = (line) =>
7373
line.replace(/(?<=\( ?(?:fix|fixes|see) )(#\d+)(?= ?\))/g, (issueHash) => {
74-
return `[${issueHash}](https://github.com/${options.repo}/issue/${issueHash.substring(1)})`;
74+
return `[${issueHash}](https://github.com/${options.repo}/issues/${issueHash.substring(
75+
1
76+
)})`;
7577
});
7678
const [firstLine, ...futureLines] = replacedChangelog
7779
.split('\n')

0 commit comments

Comments
 (0)