Skip to content

Commit ac98dc7

Browse files
committed
fix: replaceAll
1 parent 8a168e2 commit ac98dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const escapeString = (str: string) => {
2929
wrap: true,
3030
es6: true,
3131
})
32-
return text.replaceAll(RAW_RE, '${$1}')
32+
return text.replace(RAW_RE, '${$1}')
3333
}
3434
export const isPrimitive = (val: unknown): val is Primitive => {
3535
if (typeof val === 'object') return val === null

0 commit comments

Comments
 (0)