Skip to content

Commit 6337d5a

Browse files
committed
Fix no-useless-escape related problems
1 parent 0a90f79 commit 6337d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/scripts/fixUniqueSymbolExports.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const main = async () => {
3030
const lines = content.split('\n')
3131

3232
const allUniqueSymbols = lines
33-
.filter((line) => /declare const (\w+)\: unique symbol;/.test(line))
34-
.map((line) => line.match(/declare const (\w+)\: unique symbol;/)?.[1])
33+
.filter((line) => /declare const (\w+): unique symbol;/.test(line))
34+
.map((line) => line.match(/declare const (\w+): unique symbol;/)?.[1])
3535

3636
if (allUniqueSymbols.length === 0) {
3737
console.log(`${filePath} does not have any unique symbols.`)

0 commit comments

Comments
 (0)