Skip to content

Commit b685aac

Browse files
committed
avoid repeating the same return type
1 parent 8f6a146 commit b685aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/encoder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ func (e *encoder) writeByte(b byte, color []byte) {
256256
}
257257
}
258258

259-
func (e *encoder) write(bs []byte, color []byte) {
259+
func (e *encoder) write(bs, color []byte) {
260260
if color == nil {
261261
e.w.Write(bs)
262262
} else {

0 commit comments

Comments
 (0)