Add explicit error suppression (`_ =`) for unchecked resp.Body.Close() in internal/gitlab/client.go and unchecked json.NewEncoder, w.Write, json.NewDecoder, and os.Setenv/Unsetenv calls in gitlab test files. Replace os.Setenv/Unsetenv with t.Setenv in gitlab_test.go for automatic cleanup. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Executed-By: beads/polecats/obsidian Rig: beads Role: polecats |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_test.go | ||
| mapping.go | ||
| mapping_test.go | ||
| types.go | ||
| types_test.go | ||