Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Dec 11, 2024
1 parent 8a1163a commit fa13535
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ class S3Adapter {
}

async createBucket() {
if (this._hasBucket) { return; }
if (this._hasBucket) {
return;
}

try {
await this._s3Client.send(new CreateBucketCommand({ Bucket: this._bucket }));
Expand Down

0 comments on commit fa13535

Please sign in to comment.