Skip to content

Commit

Permalink
Remove .promise
Browse files Browse the repository at this point in the history
  • Loading branch information
tarikdem committed Apr 3, 2024
1 parent 27db920 commit e83df6f
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 @@ -53,7 +53,7 @@ async function build(sdk, params, config) {
imageTag,
}),
};
const response = await sdk.lambda.invoke(lambdaParams).promise();
const response = await sdk.lambda.invoke(lambdaParams);
const start = JSON.parse(JSON.parse(response.Payload));

await core.notice(`Built image tag: ${imageTag}`);
Expand Down

0 comments on commit e83df6f

Please sign in to comment.