Commit f2efb38
fix(fsclone): check os.RemoveAll error in cleanup defer (errcheck)
golangci-lint errcheck flagged the bare `defer os.RemoveAll(tmp)`.
Wrap it to explicitly discard the error — best-effort temp cleanup whose
failure is non-actionable. (Missed locally: ran go vet, not the full
golangci-lint.)1 parent 9ddb1b5 commit f2efb38
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
0 commit comments