diff --git a/cli/encoder.go b/cli/encoder.go index 312c8400..e0556f97 100644 --- a/cli/encoder.go +++ b/cli/encoder.go @@ -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 {