Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Mar 30, 2024
1 parent c902bbc commit 49fe257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webserver/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ const generateCommitsString = (head_sha: string) => {
.map((commit) => {
const committer = commit.committer;
const userProfile = `https://github.com/${committer.username}`;
const commitTitle = commit.message.split("\n")[0]
const messageWithEscapedHashtag = commitTitle.replace(/#/g, '\#'); // Remove all '#' symbols
const commitTitle = commit.message.split('\n')[0];
const messageWithEscapedHashtag = commitTitle.replace(/#/g, '\\#'); // Remove all '#' symbols
return `[➤](${commit.url}) ${messageWithEscapedHashtag} - [${committer.username}](${userProfile})`;
})
.join('\n');
Expand Down

0 comments on commit 49fe257

Please sign in to comment.