Skip to content

Commit 03dcb5e

Browse files
authored
fix(cli): don't run bundle if not installed (#7896) (#7903)
1 parent 0ac1d50 commit 03dcb5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/src/ios/update.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ end`,
140140
await writeFile(podfilePath, podfileContent, { encoding: 'utf-8' });
141141

142142
const podPath = await config.ios.podPath;
143-
const useBundler = podPath.startsWith('bundle');
143+
const useBundler =
144+
podPath.startsWith('bundle') && (await isInstalled('bundle'));
144145
const podCommandExists = await isInstalled('pod');
145146
if (useBundler || podCommandExists) {
146147
if (useBundler) {

0 commit comments

Comments
 (0)