From 9ba6a43e74daeedffbd0c2b8a324ec0884299138 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Sat, 9 Mar 2024 11:41:01 +0800 Subject: [PATCH] Delete Data Conversion Tool --- tools/component/component.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/component/component.go b/tools/component/component.go index 60692ff00..fbd20c55b 100644 --- a/tools/component/component.go +++ b/tools/component/component.go @@ -71,9 +71,10 @@ func colorErrPrint(msg string) { const redColor = "\033[31m" // ANSI escape code to reset color const resetColor = "\033[0m" + msg = resetColor + msg + resetColor // Format the string as per provided format and arguments // Print to stderr in red - fmt.Fprintf(os.Stderr, "%s", msg) + fmt.Fprintf(os.Stderr, "%s\n", msg) } func colorSuccessPrint(format string, a ...interface{}) {