chore: Update dist

This commit is contained in:
GitHub Actions authored and kellertk committed 2026-01-27 15:44:32 -08:00
1 parent 1dfb9b5b42
commit fcf6a5e397
1 file changed
+5 -1
Generated Vendored
+5 -1
View File
@@ -207,7 +207,11 @@ async function assumeRole(params) {
PolicyArns: managedSessionPolicies?.length ? managedSessionPolicies : undefined,
};
const keys = Object.keys(commonAssumeRoleParams);
keys.forEach((k) => commonAssumeRoleParams[k] === undefined && delete commonAssumeRoleParams[k]);
keys.forEach((k) => {
if (commonAssumeRoleParams[k] === undefined) {
delete commonAssumeRoleParams[k];
}
});
// Instantiate STS client
const stsClient = credentialsClient.stsClient;
// Assume role using one of three methods