Skip to content

Commit 7f59465

Browse files
committed
[AUTO] Update generated code
1 parent aac9b08 commit 7f59465

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dist/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const SIGNAL_NAME_TO_NUMBER_MAP = {
7878
'SIGPWR': 30,
7979
'SIGSYS': 31,
8080
'SIGUNUSED': 31,
81-
// there isn't actually a number here.
81+
// actually, there isn't a number for these...
8282
'SIGBREAK': 97,
8383
'SIGINFO': 98,
8484
'SIGLOST': 99,
@@ -120,7 +120,7 @@ async function runXcodebuild(args, outputFormatter) {
120120
stdio: ['pipe', process.stdout, process.stderr],
121121
});
122122
xcodebuild.stdout?.pipe(formattedOutput.stdin);
123-
finishedPromise = finishedPromise.then((xcodeCode) => new Promise((resolve, reject) => {
123+
finishedPromise = finishedPromise.then(xcodeCode => new Promise((resolve, reject) => {
124124
formattedOutput.on('error', reject);
125125
formattedOutput.on('exit', (formattedOutputCode, formattedOutputSignal) => {
126126
if (xcodeCode == 0) {
@@ -287,9 +287,9 @@ async function main() {
287287
addFlagArg('create-xcframework');
288288
const buildSettings = core.getInput('build-settings');
289289
if (buildSettings)
290-
xcodebuildArgs.push(...buildSettings.split(' ').map(v => { return { name: v }; }));
290+
xcodebuildArgs.push(...buildSettings.split(' ').map(v => ({ name: v })));
291291
const action = core.getInput('action', { required: true });
292-
xcodebuildArgs.push(...action.split(' ').map(v => { return { name: v }; }));
292+
xcodebuildArgs.push(...action.split(' ').map(v => ({ name: v })));
293293
let outputFormatter = core.getInput('output-formatter');
294294
const dryRun = core.isDebug() && core.getInput('dry-run') == 'true';
295295
// We allow other platforms for dry-runs since this speeds up tests (more parallel builds).

0 commit comments

Comments
 (0)