Skip to content

Commit

Permalink
Fixed incorrect missing global string replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
jwngr committed Sep 8, 2024
1 parent 5db2487 commit 44eb417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const scrapeTeamScores = async (teamName, teamUrl) => {
if (opponent === null) {
opponent = tds[2];
}
opponent = (await getText(opponent)).replace('*', '');
opponent = (await getText(opponent)).replace(/\*/g, '');

// Result
let result = await getText(tds[3]);
Expand Down

0 comments on commit 44eb417

Please sign in to comment.