Skip to content

Commit 9cc1fe9

Browse files
authored
fix: useragent typo (#32)
1 parent b8dd40b commit 9cc1fe9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

code-build.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ async function waitForBuildEndTime(sdk, { id, logs }, nextToken) {
5959
.promise()
6060
]).catch(err => {
6161
errObject = err;
62-
/* Returning [] here so that the assignment above
63-
* does not throw `TypeError: undefined is not iterable`.
64-
* The error is handled below,
65-
* since it might be a rate limit.
66-
*/
62+
/* Returning [] here so that the assignment above
63+
* does not throw `TypeError: undefined is not iterable`.
64+
* The error is handled below,
65+
* since it might be a rate limit.
66+
*/
6767
return [];
6868
});
6969

@@ -167,11 +167,11 @@ function inputs2Parameters(inputs) {
167167

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

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

177177
assert(

0 commit comments

Comments
 (0)