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) => {