Only support assignee searchfunc on GitHub.com
This commit is contained in:
parent
07dfdf97ae
commit
ad8c770013
1 changed files with 3 additions and 1 deletions
|
|
@ -295,7 +295,9 @@ func editRun(opts *EditOptions) error {
|
|||
|
||||
// Wire up search functions for assignees and reviewers.
|
||||
// TODO: Wire up reviewer search func.
|
||||
editable.AssigneeSearchFunc = assigneeSearchFunc(apiClient, repo, &editable, pr.ID)
|
||||
if issueFeatures.ActorIsAssignable {
|
||||
editable.AssigneeSearchFunc = assigneeSearchFunc(apiClient, repo, &editable, pr.ID)
|
||||
}
|
||||
|
||||
opts.IO.StartProgressIndicator()
|
||||
err = opts.Fetcher.EditableOptionsFetch(apiClient, repo, &editable, opts.Detector.ProjectsV1())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue