Skip to content

Fix gosec warnings - #2

Merged
andrew merged 4 commits into
mainfrom
fix-gosec-warnings
Jan 29, 2026
Merged

Fix gosec warnings#2
andrew merged 4 commits into
mainfrom
fix-gosec-warnings

Conversation

@andrew

@andrew andrew commented Jan 29, 2026

Copy link
Copy Markdown
Contributor
  • Make resp.Body.Close() error explicitly ignored in Head()
  • Use strconv.Atoi instead of fmt.Sscanf in version comparison

- Make resp.Body.Close() error explicitly ignored in Head()
- Use strconv.Atoi instead of fmt.Sscanf in version comparison
- Suppress unchecked error returns in test helpers (w.Write, json.Encode)
- Fix ineffectual assignment in golang.go
- Remove empty branch in cran.go (convert to comment)
@andrew
andrew merged commit 8a98d12 into main Jan 29, 2026
2 checks passed
@andrew
andrew deleted the fix-gosec-warnings branch January 29, 2026 13:53
@andrew andrew mentioned this pull request Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant