Skip to content

Commit 8bd2ec4

Browse files
authored
fix: golangci lint not passing anymore (#1720)
1 parent 6a02b97 commit 8bd2ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gitter/widget.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (widget *Widget) display() {
6868

6969
func (widget *Widget) content() (string, string, bool) {
7070
title := fmt.Sprintf("%s - %s", widget.CommonSettings().Title, widget.settings.roomURI)
71-
if widget.messages == nil || len(widget.messages) == 0 {
71+
if len(widget.messages) == 0 {
7272
return title, "No Messages To Display", false
7373
}
7474
var str string

0 commit comments

Comments
 (0)