diff --git a/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js b/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js index 00fadf3dd66107..654a61197c6c3d 100644 --- a/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js +++ b/packages/react-native-codegen/src/cli/combine/combine-js-to-schema-cli.js @@ -24,6 +24,7 @@ fileList.forEach(file => { const dirFiles = glob .sync(`${file}/**/*.{js,ts,tsx}`, { nodir: true, + windowsPathsNoEscape: true, }) .filter(element => filterJSFile(element, platform)); allFiles.push(...dirFiles);