Skip to content

Commit

Permalink
Fix build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cyx committed Jan 27, 2021
1 parent 7497d90 commit 4546bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/display/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"strings"

"github.com/auth0/auth0-cli/internal/ansi"
"github.com/auth0/auth0-cli/internal/auth0"
"github.com/logrusorgru/aurora"

"gopkg.in/auth0.v5/management"
Expand Down Expand Up @@ -72,7 +73,7 @@ func typeDescFor(l *management.Log, noColor bool) (typ, desc string) {
desc = strings.TrimSuffix(chunks[1], ")")
}

desc = fmt.Sprintf("%s %s", desc, l.Description)
desc = fmt.Sprintf("%s %s", desc, auth0.StringValue(l.Description))

if !noColor {
// colorize the event type field based on whether it's a success or failure
Expand Down

0 comments on commit 4546bf1

Please sign in to comment.