Commit 94b4646
committed
fix(lint): Acknowledge discarded print and close return values
errcheck flagged unchecked returns throughout the CLI's output paths
and response cleanup. Those returns are never actionable in practice:
console writes only fail on broken pipe or a full disk, and a deferred
network resource close has nothing useful to do with the error.
Discard them explicitly rather than silencing the linter, so any
genuinely unchecked error elsewhere stays visible.
Add lint to the `make qa` target so the release flow catches this
locally rather than only in CI.1 parent c3b39b4 commit 94b4646
3 files changed
Lines changed: 95 additions & 95 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments