Don't swallow error from FD

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-02-10 10:54:03 -07:00 committed by GitHub
parent 620261fea4
commit dd9ab7152b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -400,7 +400,10 @@ func createRun(opts *CreateOptions) error {
// Detect ActorIsAssignable feature to determine if we can use search-based
// reviewer selection (github.com) or need to use legacy ID-based selection (GHES)
issueFeatures, _ := opts.Detector.IssueFeatures()
issueFeatures, err := opts.Detector.IssueFeatures()
if err != nil {
return err
}
var reviewerSearchFunc func(string) prompter.MultiSelectSearchResult
if issueFeatures.ActorIsAssignable {
// Create search function for reviewer selection using login-based API