From 07fcfdd5aa87c8148b6d179be1203639a4f160bc Mon Sep 17 00:00:00 2001 From: abetomo Date: Thu, 1 Jun 2023 11:38:48 +0900 Subject: [PATCH] Fix typo Locatoin -> Location Signed-off-by: abetomo --- lib/s3_deploy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/s3_deploy.js b/lib/s3_deploy.js index c463cd2..53f4003 100644 --- a/lib/s3_deploy.js +++ b/lib/s3_deploy.js @@ -101,10 +101,10 @@ class S3Deploy { const _params = { Bucket: params.bucketName } - const s3Locatoin = this._getS3Location(params.region) - if (s3Locatoin != null) { + const s3Location = this._getS3Location(params.region) + if (s3Location != null) { _params.CreateBucketConfiguration = { - LocationConstraint: s3Locatoin + LocationConstraint: s3Location } } return new Promise((resolve, reject) => {