From 029861fa0ee99845dfdc3c0e38748608109233ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Thu, 28 Mar 2019 01:01:59 +0100 Subject: [PATCH] commands: fix a bad output in "bug comment" --- commands/comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/comment.go b/commands/comment.go index eff912088d5d798662bc4ad1452f97e5268b9dbb..08751e275ec25d7e1ae5099b79e5d09bba24900f 100644 --- a/commands/comment.go +++ b/commands/comment.go @@ -38,7 +38,7 @@ func commentsTextOutput(comments []bug.Comment) { fmt.Println() } - fmt.Printf("Author: %s\n", colors.Magenta(comment.Author)) + fmt.Printf("Author: %s\n", colors.Magenta(comment.Author.DisplayName())) fmt.Printf("Date: %s\n\n", comment.FormatTime()) fmt.Println(text.LeftPad(comment.Message, 4)) }