Skip to content

Commit

Permalink
Antoher set of lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DomBlack committed Feb 2, 2024
1 parent 4236247 commit 5fc2277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/errlist/errlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ func (l *List) SendToStream(stream interface {
func Print(w io.Writer, err error) {
if l, ok := err.(*List); ok {
for _, e := range l.List {
fmt.Fprintf(w, "%s\n", e)
_, _ = fmt.Fprintf(w, "%s\n", e)
}
} else if err != nil {
fmt.Fprintf(w, "%s\n", err)
_, _ = fmt.Fprintf(w, "%s\n", err)
}
}

0 comments on commit 5fc2277

Please sign in to comment.