mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-28 10:45:41 +08:00
TestClosingAPipelinesOutputBringsItDown receives the error of Pipeline.Wait from a channel and ignores it. errcheck v1.30.0 reports such a receive as an unchecked error. golangci-lint 2.15.0 comes with this errcheck version, and the next commit bumps to it. The test ignores the error on purpose. It only checks that Wait returns, and the error depends on the platform. Make that explicit by discarding the error in the goroutine, and use the channel only to signal that Wait has returned. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>