Skip to content

Commit 7fb886d

Browse files
committed
chore: remove AWS.config.update
1 parent 2d3c1de commit 7fb886d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tasks/publish-to-aws.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
const AWS = require('aws-sdk');
2-
31
const {
42
S3
53
} = require("@aws-sdk/client-s3");
@@ -48,11 +46,6 @@ module.exports = function (grunt) {
4846
if (!bucket || !key || !secret) {
4947
throw new Error('Missing S3 config values');
5048
}
51-
52-
// JS SDK v3 does not support global configuration.
53-
// Codemod has attempted to pass values to each service client in this file.
54-
// You may need to update clients outside of this file, if they use global config.
55-
AWS.config.update({ accessKeyId: key, secretAccessKey: secret });
5649
}
5750

5851
async function publish(suffixes) {

0 commit comments

Comments
 (0)