Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1042,8 +1042,8 @@ class LocalstackPlugin {
return;
}
const data = customResourcesBucketFile.getData().toString();
const oldClientCreation = 'S3Client({ maxAttempts: MAX_AWS_REQUEST_TRY });';
const newClientCreation = 'S3Client({ maxAttempts: MAX_AWS_REQUEST_TRY, forcePathStyle: true });';
const oldClientCreation = 'new S3Client({ maxAttempts: MAX_AWS_REQUEST_TRY })';
const newClientCreation = 'new S3Client({ maxAttempts: MAX_AWS_REQUEST_TRY, forcePathStyle: true })';
if (data.includes(newClientCreation)) {
// patch already done
createPatchMarker();
Expand Down