mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-11-30 19:54:26 +01:00
* chore: use stricter typescript config * fix: properly expose getProxyForUrl (in #1482)
This commit is contained in:
1 parent
6b19f7ffe6
commit
cea42985ac
6 files changed
+36
-48
No files matched your search
+4
-1
@@ -110,7 +110,10 @@ export async function run() {
|
||||
exportRegion(region, outputEnvCredentials);
|
||||
|
||||
// Instantiate credentials client
|
||||
const credentialsClient = new CredentialsClient({ region, proxyServer, noProxy });
|
||||
const clientProps: { region: string; proxyServer?: string; noProxy?: string } = { region };
|
||||
if (proxyServer) clientProps.proxyServer = proxyServer;
|
||||
if (noProxy) clientProps.noProxy = noProxy;
|
||||
const credentialsClient = new CredentialsClient(clientProps);
|
||||
let sourceAccountId: string;
|
||||
let webIdentityToken: string;
|
||||
|
||||
|
||||
Reference in new issue
Block a user