Don't swallow error from FD
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
620261fea4
commit
dd9ab7152b
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue