From 30cfbd9fdd5ef80ed89530e2e68c712674ee4999 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Thu, 22 Jan 2026 14:38:27 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Babak K. Shandiz --- pkg/cmd/pr/edit/edit.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/pr/edit/edit.go b/pkg/cmd/pr/edit/edit.go index 0ced8b58c..37ece7cfd 100644 --- a/pkg/cmd/pr/edit/edit.go +++ b/pkg/cmd/pr/edit/edit.go @@ -354,8 +354,8 @@ func assigneeSearchFunc(apiClient *api.Client, repo ghrepo.Interface, editable * } } - var logins []string - var displayNames []string + logins := make([]string, 0, len(actors)) + displayNames := make([]string, 0, len(actors)) for _, a := range actors { if a.Login() != "" {