Skip to content

Commit

Permalink
attribute logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed Jan 28, 2022
1 parent 34ddc2d commit bab476d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Action {

sdkOpts = response.sdkOptions;

if (response.attributes) {
if (response.attributes && Object.keys(response.attributes).length) {
info(`
SAML Attributes:`);
Object.entries(response.attributes).forEach(([k, v]) => info(` - ${k}: ${v}`));
Expand Down

0 comments on commit bab476d

Please sign in to comment.