Apply suggestions from code review
Co-authored-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
f6a09a3e5c
commit
30cfbd9fdd
1 changed files with 2 additions and 2 deletions
|
|
@ -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() != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue