From 991f31649cf97a94a04c6e9862acab042cbedec0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 3 Mar 2026 23:20:17 +0200 Subject: bump up version to 0.11.2 Patch release: code quality improvements based on 100 Go Mistakes analysis. - Fixed race condition in global RNG - Optimized render performance by lazy-calling .View() - Improved map pre-allocation - Handled or explicitly silenced unchecked errors - Removed unused functions and fields - Updated deprecated library methods --- internal/task/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/task') diff --git a/internal/task/task.go b/internal/task/task.go index d8e2e72..51d1451 100644 --- a/internal/task/task.go +++ b/internal/task/task.go @@ -61,7 +61,7 @@ var dbg debugConfig func SetDebugLog(path string) error { // Close existing debug file if open before re-configuring. if dbg.file != nil { - dbg.file.Close() + _ = dbg.file.Close() dbg.file = nil dbg.writer = nil } -- cgit v1.2.3