Skip to content

Commit 5319dad

Browse files
authored
🎯 Update updateLeaderboard.js
1 parent 03d08a5 commit 5319dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/updateLeaderboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = async ({ github, context }) => {
6363
const difficulty = modeMapping[mode] || '';
6464
const gameOutcome = win === 1 ? 'Win' : 'Game Over';
6565

66-
const newLeaderboardItem = `| ${score} | ${difficulty} | [<img src="${issue.author.avatarUrl}" alt="${issue.author.login}" width="24" /> ${name}](${githubLink}) | ${message} | ${date} |\n`;
66+
const newLeaderboardItem = `| ${score} | ${difficulty} | [<img src="${issue.author.avatarUrl}" alt="${issue.author.login}" width="24" /> ${name}](${githubLink}) | ${message} | ${date} |`;
6767
const newEntry = `| ${date} | [<img src="${issue.author.avatarUrl}" alt="${issue.author.login}" width="24" /> ${name}](${githubLink}) | ${message} | ${difficulty} | ${score} | ${gameOutcome} |`;
6868

6969
const readmePath = 'README.md';

0 commit comments

Comments
 (0)