Skip to content

Commit 0845f7e

Browse files
cleanup
1 parent 3e3ab15 commit 0845f7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/github/projects.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ func ListProjects(getClient GetClientFn, t translations.TranslationHelperFunc) (
6969

7070
var resp *github.Response
7171
var projects []*github.ProjectV2
72-
minimalProjects := []MinimalProject{}
73-
7472
var queryPtr *string
73+
7574
if queryStr != "" {
7675
queryPtr = &queryStr
7776
}
7877

78+
minimalProjects := []MinimalProject{}
7979
opts := &github.ListProjectsOptions{
8080
ListProjectsPaginationOptions: github.ListProjectsPaginationOptions{PerPage: &perPage},
8181
Query: queryPtr,

0 commit comments

Comments
 (0)