Skip to content

Commit 3380a07

Browse files
committed
fix formatting
1 parent cef92ca commit 3380a07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/open-next/src/utils/regex.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ export function getCrossPlatformPathRegex(
33
opts: { escape: boolean } = { escape: true },
44
) {
55
const newExpr = (
6-
opts.escape ? regex.replace(/([[\]().*+?^$|])/g, '\\$1') : regex
7-
).replaceAll('/', '(?:\\/|\\\\)');
6+
opts.escape ? regex.replace(/([[\]().*+?^$|])/g, "\\$1") : regex
7+
).replaceAll("/", "(?:\\/|\\\\)");
88

9-
return new RegExp(newExpr, 'g');
9+
return new RegExp(newExpr, "g");
1010
}

0 commit comments

Comments
 (0)