Skip to content

Commit 2f9c84c

Browse files
author
Capacitor+ Bot
committed
style: auto-format code after upstream sync
1 parent 6e5b757 commit 2f9c84c

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

cli/src/ios/update.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,18 @@ async function updatePodfile(config: Config, plugins: Plugin[], deployment: bool
149149

150150
const isXcodebuildAvailable = await isInstalled('xcodebuild');
151151
if (isXcodebuildAvailable) {
152-
await runCommand('xcodebuild', ['-project', basename(`${config.ios.nativeXcodeProjDirAbs}`),
153-
...(config.ios.scheme ? ['-scheme', config.ios.scheme] : []),
154-
'clean'
155-
], {
156-
cwd: config.ios.nativeProjectDirAbs,
157-
});
152+
await runCommand(
153+
'xcodebuild',
154+
[
155+
'-project',
156+
basename(`${config.ios.nativeXcodeProjDirAbs}`),
157+
...(config.ios.scheme ? ['-scheme', config.ios.scheme] : []),
158+
'clean',
159+
],
160+
{
161+
cwd: config.ios.nativeProjectDirAbs,
162+
},
163+
);
158164
} else {
159165
logger.warn('Unable to find "xcodebuild". Skipping xcodebuild clean step...');
160166
}

0 commit comments

Comments
 (0)