Clarify comment on reviewer API behavior

Update comment in FetchOptions to specify that the APIs used for both GHES and GitHub.com accept user logins and team slugs directly, clarifying why non-interactive flows with Add/Remove don't need to fetch reviewers/teams. Comment-only change; no functional modifications.
This commit is contained in:
Kynan Ware 2026-01-30 11:33:22 -07:00
parent aac223ab71
commit a9a0486c70

View file

@ -459,7 +459,7 @@ func FetchOptions(client *api.Client, repo ghrepo.Interface, editable *Editable,
fetchReviewers = true
}
// Note: Non-interactive flows (with Add/Remove) don't need to fetch reviewers/teams
// because the REST API accepts logins and team slugs directly.
// because the APIs in use for both GHES and GitHub.com accept user logins and team slugs directly.
}
fetchAssignees := false