Skip to content

Commit

Permalink
Merge pull request #163 from auth0/fix-apps-row
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Mar 15, 2021
2 parents 398e0e2 + b94e78e commit 7de6fa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/cli/apps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func TestClientsListCmd(t *testing.T) {
expectTable(t, stdout.String(),
[]string{"CLIENT ID", "NAME", "TYPE"},
[][]string{
{"some-name", "generic", "some-id"},
{"some-id", "some-name", "generic"},
},
)
}
4 changes: 2 additions & 2 deletions internal/display/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,16 @@ func (v *applicationListView) AsTableHeader() []string {
func (v *applicationListView) AsTableRow() []string {
if v.revealSecret {
return []string{
ansi.Faint(v.ClientID),
v.Name,
v.Type,
ansi.Faint(v.ClientID),
ansi.Italic(v.ClientSecret),
}
}
return []string{
ansi.Faint(v.ClientID),
v.Name,
v.Type,
ansi.Faint(v.ClientID),
}
}

Expand Down

0 comments on commit 7de6fa3

Please sign in to comment.