Skip to content

Commit

Permalink
Update code-build.js
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyong-ty authored Jan 31, 2024
1 parent 3a54508 commit 57e2bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function setupSignalHandlers(sdk, id, signals) {
process.on(s, async () => {
try {
core.info(`Caught ${s}, attempting to stop build...`);
await sdk.codeBuild.stopBuild({ id }).promise();
await sdk.codeBuild.stopBuild({ id });
} catch (ex) {
core.error(`Error stopping build: ${ex}`);
}
Expand Down

0 comments on commit 57e2bda

Please sign in to comment.