summaryrefslogtreecommitdiff
path: root/internal/task
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-03 23:20:17 +0200
committerPaul Buetow <paul@buetow.org>2026-03-03 23:20:30 +0200
commit991f31649cf97a94a04c6e9862acab042cbedec0 (patch)
treed42208f281db952691e4418cdb048c2d8ce0d793 /internal/task
parentb3dfd2441f1448eaa21d0e92346dbb966ccc5163 (diff)
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
Diffstat (limited to 'internal/task')
-rw-r--r--internal/task/task.go2
1 files changed, 1 insertions, 1 deletions
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
}