From d8c63640f50c76d4b1543057c092ca0231911453 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 20 Feb 2026 03:15:10 -0800 Subject: [PATCH] fix: resolve wastedassign and gosmopolitan lint issues --- cmd/chat-cli/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/chat-cli/main.go b/cmd/chat-cli/main.go index f4594d3..c20efd0 100644 --- a/cmd/chat-cli/main.go +++ b/cmd/chat-cli/main.go @@ -539,11 +539,11 @@ func (a *App) pollLoop() { } func (a *App) handleServerMessage(msg *api.Message) { - ts := "" + var ts string if msg.TS != "" { t := msg.ParseTS() - ts = t.Local().Format("15:04") + ts = t.Local().Format("15:04") //nolint:gosmopolitan // CLI displays local time intentionally } else { ts = time.Now().Format("15:04") }