@@ -40,43 +40,43 @@ module.exports = {
4040 new RegExp (
4141 `${ '.*microsoft-reactnative-sampleapps/msbuild.*' . replace (
4242 / [ / \\ \\ ] / g,
43- '[/\\\\] ' ,
43+ '/ ' ,
4444 ) } .*`,
4545 ) , // Avoid error EBUSY: resource busy or locked, open 'D:\a\1\s\packages\E2ETest\msbuild.ProjectImports.zip' in pipeline
46- new RegExp ( `${ path . resolve ( rnPath ) . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*` ) ,
46+ new RegExp ( `${ path . resolve ( rnPath ) . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*` ) ,
4747 new RegExp (
4848 `${ path
4949 . resolve ( rnwPath , 'RNTesterCopy' )
50- . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*`,
50+ . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*`,
5151 ) ,
5252 new RegExp (
5353 `${ path
5454 . resolve ( rnwPath , 'IntegrationTestsCopy' )
55- . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*`,
55+ . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*`,
5656 ) ,
5757 new RegExp (
5858 `${ path
5959 . resolve ( rnwPath , 'node_modules/react-native' )
60- . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*`,
60+ . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*`,
6161 ) ,
6262 new RegExp (
6363 `${ path
6464 . resolve ( rnwePath , 'node_modules/react-native' )
65- . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*`,
65+ . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*`,
6666 ) ,
6767 new RegExp (
6868 `${ path
6969 . resolve (
7070 require . resolve ( '@react-native-community/cli/package.json' ) ,
7171 '../node_modules/react-native' ,
7272 )
73- . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*`,
73+ . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*`,
7474 ) ,
7575 // This stops "react-native run-windows" from causing the metro server to crash if its already running
7676 new RegExp (
7777 `${ path
7878 . resolve ( __dirname , 'windows' )
79- . replace ( / [ / \\ \\ ] / g, '[/\\\\] ' ) } .*`,
79+ . replace ( / [ / \\ \\ ] / g, '/ ' ) } .*`,
8080 ) ,
8181 ] ) ,
8282 } ,
0 commit comments