Skip to content

Commit

Permalink
Merge pull request #381 from vscheuber/main
Browse files Browse the repository at this point in the history
only show scope row if scope defined
  • Loading branch information
vscheuber authored Mar 24, 2024
2 parents 63281a5 + 1aea49b commit 6b7d8fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ops/ConnectionProfileOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ export async function describeConnectionProfile(
delete profile.svcacctName;
delete profile.svcacctScope;
}
if (!profile.svcacctScope) {
delete profile.svcacctScope;
}
if (showSecrets && jwk) {
(profile as unknown)['svcacctJwk'] = 'see below';
}
Expand Down

0 comments on commit 6b7d8fe

Please sign in to comment.