We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e8dba commit b724448Copy full SHA for b724448
packages/cli-platform-apple/src/config/findAllPodfilePaths.ts
@@ -15,5 +15,9 @@ export default function findAllPodfilePaths(cwd: string) {
15
return glob.sync('**/Podfile', {
16
cwd: unixifyPaths(cwd),
17
ignore: GLOB_EXCLUDE_PATTERN,
18
+ // Stop unbounded globbing and infinite loops for projects
19
+ // with deeply nested subdirectories. The most likely result
20
+ // is `ios/Podfile`, so this depth should be plenty:
21
+ deep: 10,
22
});
23
}
0 commit comments