From f544c6adbb4383dbcd0bb1192e650b1815792ed2 Mon Sep 17 00:00:00 2001 From: Dan Molik Date: Thu, 13 Oct 2022 12:45:24 -0400 Subject: [PATCH] bad '()' ? --- dist/restore/index.js | 2 +- dist/save/index.js | 2 +- src/utils/actionUtils.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/restore/index.js b/dist/restore/index.js index 6cfaca0..f540337 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -2587,7 +2587,7 @@ function getInputS3ClientConfig() { } } : { credentials: credential_provider_web_identity_1.fromTokenFile({ - roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity(), + roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity, }) }; const s3config = Object.assign(Object.assign({}, credentials), { region: core.getInput(constants_1.Inputs.AWSRegion), endpoint: core.getInput(constants_1.Inputs.AWSEndpoint), bucketEndpoint: core.getBooleanInput(constants_1.Inputs.AWSS3BucketEndpoint), forcePathStyle: core.getBooleanInput(constants_1.Inputs.AWSS3ForcePathStyle) }); diff --git a/dist/save/index.js b/dist/save/index.js index 0fa9fac..3b30d37 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -2587,7 +2587,7 @@ function getInputS3ClientConfig() { } } : { credentials: credential_provider_web_identity_1.fromTokenFile({ - roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity(), + roleAssumerWithWebIdentity: client_sts_1.getDefaultRoleAssumerWithWebIdentity, }) }; const s3config = Object.assign(Object.assign({}, credentials), { region: core.getInput(constants_1.Inputs.AWSRegion), endpoint: core.getInput(constants_1.Inputs.AWSEndpoint), bucketEndpoint: core.getBooleanInput(constants_1.Inputs.AWSS3BucketEndpoint), forcePathStyle: core.getBooleanInput(constants_1.Inputs.AWSS3ForcePathStyle) }); diff --git a/src/utils/actionUtils.ts b/src/utils/actionUtils.ts index d41247b..181adf3 100644 --- a/src/utils/actionUtils.ts +++ b/src/utils/actionUtils.ts @@ -90,7 +90,7 @@ export function getInputS3ClientConfig(): S3ClientConfig | undefined { } } : { credentials: fromTokenFile({ - roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity(), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity, }) }