From 1b7249e405fb2d0248cb0b315255dabfd413609f Mon Sep 17 00:00:00 2001 From: Christian Nuss Date: Fri, 28 Jan 2022 12:18:19 -0700 Subject: [PATCH] format attributes logging --- src/action.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/action.ts b/src/action.ts index 1c5cec1..33031cf 100644 --- a/src/action.ts +++ b/src/action.ts @@ -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);