Skip to content

Commit 3f5fd39

Browse files
committed
update
1 parent cd335ca commit 3f5fd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ function* extractScriptBlocks(code: string): IterableIterator<{
142142
tagRange[1] - 9,
143143
]
144144

145-
// eslint-disable-next-line regexp/no-unused-capturing-group -- maybe bug
146145
const attrRe =
146+
// eslint-disable-next-line regexp/no-unused-capturing-group -- maybe bug
147147
/(<key>[^\s=]+)(?:=(?:"(<val>[^"]*)"|'(<val>[^"]*)'|(<val>[^\s=]+)))?/giu
148148
const attrs: Record<string, string | undefined> = {}
149149
while ((res = attrRe.exec(attributes))) {

0 commit comments

Comments
 (0)