Skip to content

Commit fd9f36c

Browse files
committed
Update code-build.js to use SDK v3 syntax
1 parent 3a54508 commit fd9f36c

File tree

3 files changed

+34502
-1602
lines changed

3 files changed

+34502
-1602
lines changed

code-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function setupSignalHandlers(sdk, id, signals) {
5858
process.on(s, async () => {
5959
try {
6060
core.info(`Caught ${s}, attempting to stop build...`);
61-
await sdk.codeBuild.stopBuild({ id }).promise();
61+
await sdk.codeBuild.stopBuild({ id });
6262
} catch (ex) {
6363
core.error(`Error stopping build: ${ex}`);
6464
}

0 commit comments

Comments
 (0)