Skip to content

Commit

Permalink
format attributes logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed Jan 28, 2022
1 parent 07d20d6 commit 1b7249e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ export class Action {

if (response.attributes) {
info(`
SAML Attributes:
${Object.entries(response.attributes).map(([k, v]) => ` - ${k}: ${v}\n`)}
`);
SAML Attributes:`);
Object.entries(response.attributes).forEach(([k, v]) => info(` - ${k}: ${v}\n`));
}

await this.assumeAws(response, region);
Expand Down

0 comments on commit 1b7249e

Please sign in to comment.