This commit is contained in:
Josh Perez 2020-09-14 19:41:38 -04:00 committed by Josh Perez
parent 22ba54ce5c
commit 64ba7b63d3
2 changed files with 5 additions and 4 deletions

View file

@ -344,6 +344,7 @@ async function main(): Promise<void> {
}
// recreate this rule since it has g flag, and carries local state
if (rule.expression) {
// eslint-disable-next-line no-param-reassign
rule.regex = new RegExp(rule.expression, 'g');
}