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 2e77b66 commit fb20d41
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dist/run.cjs
Expand Up @@ -2248,12 +2248,9 @@ function toMarkdown(changelogsByComponent) {
return Object.entries(changelogsByComponent).map(([component, changelogs]) => {
return `### ${component}
- ${changelogs.map(escapeGitHubUsername).join("\n- ")}`;
- ${changelogs.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 fb20d41

Please sign in to comment.