Skip to content

Commit a530ed0

Browse files
committed
fix: respect --no-install-pods CLI option
1 parent 8e0b6bb commit a530ed0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/react-native-brownfield/src/cli

packages/react-native-brownfield/src/cli/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ curryOptions(program.command('package:ios').description('Build iOS package'), [
188188
.flatMap((sdk) => sdk.split(',').map((s) => s.trim()))
189189
.filter((sdk) => sdk.length > 0);
190190

191-
if (!options.noInstallPods) {
191+
if (options.installPods) {
192192
const { start, stop, message } = spinner();
193193

194194
start(`Installing pods...`);
@@ -283,7 +283,7 @@ curryOptions(program.command('package:ios').description('Build iOS package'), [
283283
const outDir = path.join(iosBaseDir, 'out', options.configuration);
284284

285285
if (!fs.existsSync(outDir)) {
286-
fs.mkdirSync(outDir);
286+
fs.mkdirSync(outDir, { recursive: true });
287287
}
288288

289289
const artifactNames: string[] = [];

0 commit comments

Comments
 (0)