We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1171fd4 commit 28528e4Copy full SHA for 28528e4
1 file changed
src/index.js
@@ -1042,8 +1042,8 @@ class LocalstackPlugin {
1042
return;
1043
}
1044
const data = customResourcesBucketFile.getData().toString();
1045
- const oldClientCreation = 'S3Client({ maxAttempts: MAX_AWS_REQUEST_TRY });';
1046
- 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 });';
1047
if (data.includes(newClientCreation)) {
1048
// patch already done
1049
createPatchMarker();
0 commit comments