From 9cc1fe9f1f88b8d7adeb0f7bfaa77473d1d9048f Mon Sep 17 00:00:00 2001 From: Joseph Vusich <15684831+josephvusich@users.noreply.github.com> Date: Tue, 31 Mar 2020 12:02:57 -0700 Subject: [PATCH] fix: useragent typo (#32) --- code-build.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code-build.js b/code-build.js index 99bc81b..d79c820 100644 --- a/code-build.js +++ b/code-build.js @@ -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 []; }); @@ -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(