Skip to content

Commit 79c494f

Browse files
committed
perf: add android to exclude pattern in findAllPodfilePaths as it's not scoped to sourceDir
1 parent bbc597b commit 79c494f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/cli-config-apple/src/config/findAllPodfilePaths.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import glob from 'fast-glob';
99
import {unixifyPaths} from '@react-native-community/cli-tools';
1010

1111
// These folders will be excluded from search to speed it up
12-
const GLOB_EXCLUDE_PATTERN = ['**/@(Pods|node_modules|Carthage|vendor)/**'];
12+
const GLOB_EXCLUDE_PATTERN = [
13+
'**/@(Pods|node_modules|Carthage|vendor|android)/**',
14+
];
1315

1416
export default function findAllPodfilePaths(cwd: string) {
1517
return glob.sync('**/Podfile', {

0 commit comments

Comments
 (0)