Add TODO requestReviewsByLoginCleanup on static reviewer MultiSelect
Mark the legacy static MultiSelect reviewer path for cleanup once GHES supports requestReviewsByLogin and search-based selection can be used universally. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
dd7e44ee0a
commit
37776cf2e6
1 changed files with 3 additions and 0 deletions
|
|
@ -271,6 +271,9 @@ func MetadataSurvey(p Prompt, io *iostreams.IOStreams, baseRepo ghrepo.Interface
|
|||
}
|
||||
values.Reviewers = selectedReviewers
|
||||
} else if len(reviewers) > 0 {
|
||||
// TODO requestReviewsByLoginCleanup
|
||||
// The static MultiSelect path can be removed once GHES supports
|
||||
// requestReviewsByLogin and search-based selection is always used.
|
||||
selected, err := p.MultiSelect("Reviewers", state.Reviewers, reviewers)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue