cleanup
parent
351bae44ad
commit
7ab90e1e8d
|
|
@ -586,6 +586,7 @@ class AWS {
|
|||
}).promise()).tasks) === null || _r === void 0 ? void 0 : _r[0].containers) === null || _s === void 0 ? void 0 : _s[0].exitCode;
|
||||
if (exitCode !== 0) {
|
||||
core.error(`job failed with exit code ${exitCode}`);
|
||||
throw new Error(`job failed with exit code ${exitCode}`);
|
||||
}
|
||||
else {
|
||||
core.info(`Build job has finished successfully`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -457,6 +457,7 @@ class AWS {
|
|||
).tasks?.[0].containers?.[0].exitCode;
|
||||
if (exitCode !== 0) {
|
||||
core.error(`job failed with exit code ${exitCode}`);
|
||||
throw new Error(`job failed with exit code ${exitCode}`);
|
||||
} else {
|
||||
core.info(`Build job has finished successfully`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue