Skip to content

Commit

Permalink
fix: useragent typo (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephvusich committed Mar 31, 2020
1 parent b8dd40b commit 9cc1fe9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions code-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ async function waitForBuildEndTime(sdk, { id, logs }, nextToken) {
.promise()
]).catch(err => {
errObject = err;
/* Returning [] here so that the assignment above
* does not throw `TypeError: undefined is not iterable`.
* The error is handled below,
* since it might be a rate limit.
*/
/* Returning [] here so that the assignment above
* does not throw `TypeError: undefined is not iterable`.
* The error is handled below,
* since it might be a rate limit.
*/
return [];
});

Expand Down Expand Up @@ -167,11 +167,11 @@ function inputs2Parameters(inputs) {

function buildSdk() {
const codeBuild = new aws.CodeBuild({
customUserAgent: "aws-codbuild-run-project"
customUserAgent: "aws-actions/aws-codebuild-run-build"
});

const cloudWatchLogs = new aws.CloudWatchLogs({
customUserAgent: "aws-codbuild-run-project"
customUserAgent: "aws-actions/aws-codebuild-run-build"
});

assert(
Expand Down

0 comments on commit 9cc1fe9

Please sign in to comment.