Skip to content

Commit aee2ff9

Browse files
show dest
1 parent 98400e4 commit aee2ff9

3 files changed

Lines changed: 5 additions & 14 deletions

File tree

dist/index.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58672,18 +58672,14 @@ async function getDestination(projectPath, scheme, platform) {
5867258672
const destinationArgs = [
5867358673
'-project', projectPath,
5867458674
'-scheme', scheme,
58675-
'-showdestinations',
58676-
'-json'
58675+
'-showdestinations'
5867758676
];
58678-
if (!core.isDebug()) {
58679-
core.info(`[command]${xcodebuild} ${destinationArgs.join(' ')}`);
58680-
}
5868158677
await (0, exec_1.exec)(xcodebuild, destinationArgs, {
5868258678
listeners: {
5868358679
stdout: (data) => {
5868458680
destinationOutput += data.toString();
5868558681
}
58686-
},
58682+
}
5868758683
});
5868858684
core.info(destinationOutput);
5868958685
return `generic/platform=${platform}`;

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/xcode.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -331,20 +331,15 @@ async function getDestination(projectPath: string, scheme: string, platform: str
331331
const destinationArgs = [
332332
'-project', projectPath,
333333
'-scheme', scheme,
334-
'-showdestinations',
335-
'-json'
334+
'-showdestinations'
336335
];
337336

338-
if (!core.isDebug()) {
339-
core.info(`[command]${xcodebuild} ${destinationArgs.join(' ')}`);
340-
}
341-
342337
await exec(xcodebuild, destinationArgs, {
343338
listeners: {
344339
stdout: (data: Buffer) => {
345340
destinationOutput += data.toString();
346341
}
347-
},
342+
}
348343
});
349344
core.info(destinationOutput);
350345
// example output:

0 commit comments

Comments
 (0)