Skip to content

Commit

Permalink
build: updated dist/run.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m authored and github-actions[bot] committed Jul 7, 2023
1 parent a961cf7 commit 6bc3eea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dist/run.cjs
Expand Up @@ -2248,9 +2248,12 @@ function toMarkdown(changelogsByComponent) {
return Object.entries(changelogsByComponent).map(([component, changelogs]) => {
return `### ${component}
- ${changelogs.join("\n- ")}`;
- ${changelogs.map(escapeGitHubUsername).join("\n- ")}`;
}).join("\n\n");
}
function escapeGitHubUsername(string) {
return string.replace(/@([\w-]+)/g, "[@$1](https://github.com/$1)");
}
function yamlEscape(string) {
return string.replace(/"/g, '""');
}
Expand Down

0 comments on commit 6bc3eea

Please sign in to comment.