From 1f35389ed9cf8c61993cf321c659808c9c37b324 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Mon, 19 Jan 2026 14:02:01 +0100 Subject: [PATCH] remove recursive Sprintf() --- lib/printer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/printer.go b/lib/printer.go index 367f4a0..9bd9f1f 100644 --- a/lib/printer.go +++ b/lib/printer.go @@ -425,10 +425,10 @@ func colorizeOutput(conf cfg.Config, input string) string { col := colorizer.Replace if strings.Contains(col, ":") { parts := strings.Split(col, ":") - return color.Sprintf(fmt.Sprintf("%s", parts[0], parts[1], in)) + return color.Sprintf("%s", parts[0], parts[1], in) } - return color.Sprintf(fmt.Sprintf("%s", col, in)) + return color.Sprintf("%s", col, in) }) } }