From 9de40815b0379bd237eae8610e97ccdb9becac28 Mon Sep 17 00:00:00 2001 From: unclesam <2036253946@qq.com> Date: Tue, 18 Aug 2026 11:30:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E5=BF=BD=E7=95=A5=20PrintError=20?= =?UTF-8?q?=E7=9A=84=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/ui/render.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/render.go b/internal/ui/render.go index a1c5aa3..8a87052 100644 --- a/internal/ui/render.go +++ b/internal/ui/render.go @@ -33,7 +33,7 @@ func PrintFooter() { // PrintError 打印错误信息 func PrintError(format string, a ...interface{}) { msg := fmt.Sprintf(format, a...) - fmt.Fprintf(os.Stderr, "%s[ERROR]%s %s\n", colorRed, colorReset, msg) + _, _ = fmt.Fprintf(os.Stderr, "%s[ERROR]%s %s\n", colorRed, colorReset, msg) } // PrintSuccess 打印成功信息