Fix lint
This commit is contained in:
parent
22ba54ce5c
commit
64ba7b63d3
2 changed files with 5 additions and 4 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue