Skip to content

Check unchecked write errors#75

Merged
campoy merged 2 commits intomasterfrom
check-write-errors
Feb 13, 2026
Merged

Check unchecked write errors#75
campoy merged 2 commits intomasterfrom
check-write-errors

Conversation

@campoy
Copy link
Owner

@campoy campoy commented Feb 12, 2026

Summary

  • Check w.Write(b) error in embedmd/embedmd.go and return it
  • Check io.Copy(stdout, buf) error in main.go and return it

Test plan

  • go build ./... passes
  • go vet ./... passes
  • go test ./... relevant tests pass

🤖 Generated with Claude Code

Francesc Campoy and others added 2 commits February 11, 2026 17:41
Handle return values from w.Write in embedmd.go and io.Copy in main.go
that were previously silently ignored.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@campoy campoy merged commit 75261cc into master Feb 13, 2026
3 checks passed
@campoy campoy deleted the check-write-errors branch February 13, 2026 17:01
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