Improve comments from PR feedback

This commit is contained in:
Andy Feller 2025-07-16 08:47:12 -04:00
parent fd1c31de59
commit 21202ff992

View file

@ -203,8 +203,9 @@ func MetadataSurvey(p Prompt, io *iostreams.IOStreams, baseRepo ghrepo.Interface
reviewers = append(reviewers, fmt.Sprintf("%s/%s", baseRepo.RepoOwner(), t.Slug))
}
// In order to select any provided assignee, the following code needs to take the provided default assignees in `state`
// and translate them to the appropriate actor / user.
// Populate the list of selectable assignees and their default selections.
// This logic maps the default assignees from `state` to the corresponding actors or users
// so that the correct display names are preselected in the prompt.
var assignees []string
var assigneesDefault []string
if state.ActorAssignees {