Skip to content

Commit 184dfb1

Browse files
author
Catherine Lee
committed
add await
1 parent 06475d8 commit 184dfb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/src/syncer

terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/src/syncer/handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const handle = async (): Promise<void> => {
134134
const currentVersion = await getCachedVersion(s3, cacheObject);
135135
console.debug('latest: ' + currentVersion);
136136
if (currentVersion === undefined || currentVersion != actionRunnerReleaseAsset.name) {
137-
uploadToS3(s3, cacheObject, actionRunnerReleaseAsset);
137+
await uploadToS3(s3, cacheObject, actionRunnerReleaseAsset);
138138
} else {
139139
console.debug('Distribution is up-to-date, no action.');
140140
}

0 commit comments

Comments
 (0)