We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9b78da commit 6979ab0Copy full SHA for 6979ab0
1 file changed
cli/command/image/tree.go
@@ -338,8 +338,8 @@ func (h imgColumn) PrintR(clr aec.ANSI, s string) string {
338
339
type noColor struct{}
340
341
-func (a noColor) With(ansi ...aec.ANSI) aec.ANSI {
342
- return aec.NewBuilder(ansi...).ANSI
+func (a noColor) With(_ ...aec.ANSI) aec.ANSI {
+ return a
343
}
344
345
func (a noColor) Apply(s string) string {
0 commit comments