Skip to content

Commit

Permalink
[AUTO] Update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
sersoft-bot committed Oct 24, 2022
1 parent 8191001 commit 27bb5b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ const fs_1 = __nccwpck_require__(147);
const path = __importStar(__nccwpck_require__(17));
const os = __importStar(__nccwpck_require__(37));
async function runCmd(cmd, args) {
const output = await exec.getExecOutput(cmd, args, {
silent: !core.isDebug(),
});
const output = await exec.getExecOutput(cmd, args, { silent: !core.isDebug() });
if (output.stderr.length > 0)
core.warning(`Command execution wrote lines to stderr:\n${output.stderr}`);
return output.stdout;
Expand Down Expand Up @@ -198,10 +196,12 @@ async function main() {
}
catch (error) {
const msg = `Failed to convert ${dest}: ${error}`;
if (error instanceof Error)
if (error instanceof Error) {
conversionFailures.push(error);
else
}
else {
conversionFailures.push(new Error(msg));
}
if (ignoreConversionFailures) {
core.info(msg);
}
Expand Down

0 comments on commit 27bb5b2

Please sign in to comment.