Commit 668c5f0
RTECO-945 - Fix golangci-lint errors in apk_test.go and buildtools/cli.go
- errcheck: replace defer os.RemoveAll with clientTestUtils.RemoveAllAndAssert
so the error return is not silently dropped (apk_test.go lines 658, 761)
- ineffassign: reassigned args is never read after ExtractBoolFlagFromArgs;
use _ to make the intent explicit (buildtools/cli.go line 2215)
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 541f73c commit 668c5f0
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
2215 | | - | |
| 2215 | + | |
2216 | 2216 | | |
2217 | 2217 | | |
2218 | 2218 | | |
| |||
0 commit comments