Skip to content

Commit

Permalink
fix node14
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Aug 9, 2022
1 parent 51603ba commit 8910696
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ function replaceAll(str, pattern, replacement) {
if (str.replaceAll) {
return str.replaceAll(pattern, replacement);
}
return str.replace(new RegExp((pattern, 'g'), replacement));
return str.replace(new RegExp(pattern, 'g'), replacement);
}

0 comments on commit 8910696

Please sign in to comment.