Skip to content

Commit 7de6fa3

Browse files
authored
Merge pull request #163 from auth0/fix-apps-row
2 parents 398e0e2 + b94e78e commit 7de6fa3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/cli/apps_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func TestClientsListCmd(t *testing.T) {
5151
expectTable(t, stdout.String(),
5252
[]string{"CLIENT ID", "NAME", "TYPE"},
5353
[][]string{
54-
{"some-name", "generic", "some-id"},
54+
{"some-id", "some-name", "generic"},
5555
},
5656
)
5757
}

internal/display/apps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,16 @@ func (v *applicationListView) AsTableHeader() []string {
142142
func (v *applicationListView) AsTableRow() []string {
143143
if v.revealSecret {
144144
return []string{
145+
ansi.Faint(v.ClientID),
145146
v.Name,
146147
v.Type,
147-
ansi.Faint(v.ClientID),
148148
ansi.Italic(v.ClientSecret),
149149
}
150150
}
151151
return []string{
152+
ansi.Faint(v.ClientID),
152153
v.Name,
153154
v.Type,
154-
ansi.Faint(v.ClientID),
155155
}
156156
}
157157

0 commit comments

Comments
 (0)