fix: resolve wastedassign and gosmopolitan lint issues

This commit is contained in:
user
2026-02-20 03:15:10 -08:00
parent 3adc5479b7
commit d8c63640f5

View File

@@ -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")
}