Skip to content

Commit

Permalink
avoid repeating the same return type
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Nov 16, 2024
1 parent 8f6a146 commit b685aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (e *encoder) writeByte(b byte, color []byte) {
}
}

func (e *encoder) write(bs []byte, color []byte) {
func (e *encoder) write(bs, color []byte) {
if color == nil {
e.w.Write(bs)
} else {
Expand Down

0 comments on commit b685aac

Please sign in to comment.