Skip to content

Commit a662d04

Browse files
committed
chore: remove AWS.config.update
1 parent eacee26 commit a662d04

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tasks/publish-to-aws.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
const AWS = require('aws-sdk');
2-
31
const { S3 } = require('@aws-sdk/client-s3');
4-
52
const git = require('./util/git');
63
const { createRegisterAsyncTaskFn } = require('./util/async-grunt-task');
74
const semver = require('semver');
@@ -46,11 +43,6 @@ module.exports = function (grunt) {
4643
if (!bucket || !key || !secret) {
4744
throw new Error('Missing S3 config values');
4845
}
49-
50-
// JS SDK v3 does not support global configuration.
51-
// Codemod has attempted to pass values to each service client in this file.
52-
// You may need to update clients outside of this file, if they use global config.
53-
AWS.config.update({ accessKeyId: key, secretAccessKey: secret });
5446
}
5547

5648
async function publish(suffixes) {

0 commit comments

Comments
 (0)