fix: nil pointer deref and flag.Parse() in init() (#76) #78
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/OpenSpec
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
RFC - Request For Comments
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
hermes-attempted
hermes-needs-clarification
hermes-ready
hermes-review
hermes-wip
human-required
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
agentic-forges/forgejo-mcp!78
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/78/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #76
Changes:
respagainst nil before accessingStatusCodeinoperation/user/user.go. When the API returns an error with nil response, this previously panicked.flag.CommandLineusage with a dedicatedflag.FlagSetin a newinitFlags()function called fromExecute(). This prevents conflicts withgo testwhich uses the global flagset.All tests pass including
go test -race -count=3 ./test/race/.