Skip to content

Commit 996e176

Browse files
authored
fix: use correct escaping in the context of regex (#6449)
1 parent 82f451a commit 996e176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/build-tools/lib/build-windows.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export async function buildWindowsConfig(
6363
ignore: [
6464
new RegExp(`${commonConfig.electronDirectory}/renderer/src$`),
6565
new RegExp(`${commonConfig.electronDirectory}/src$`),
66-
new RegExp(`/\.yarn$`),
66+
new RegExp(`/\\.yarn$`),
6767
new RegExp(`/bin$`),
6868
new RegExp(`/jenkins$`),
6969
],

0 commit comments

Comments
 (0)