Skip to content

Commit

Permalink
fix(cli): don't run bundle if not installed (#7896)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Mar 5, 2025
1 parent bdaa6f3 commit ee55f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/ios/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function updatePodfile(config: Config, plugins: Plugin[], deployment: bool
await writeFile(podfilePath, podfileContent, { encoding: 'utf-8' });

const podPath = await config.ios.podPath;
const useBundler = podPath.startsWith('bundle');
const useBundler = podPath.startsWith('bundle') && (await isInstalled('bundle'));
const podCommandExists = await isInstalled('pod');
if (useBundler || podCommandExists) {
if (useBundler) {
Expand Down

0 comments on commit ee55f6c

Please sign in to comment.