Skip to content

Commit 973f03a

Browse files
committed
Reorder variable declaration
Signed-off-by: Brett Logan <[email protected]>
1 parent 8c8ea22 commit 973f03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/installations.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ func Installations(c *cli.Context) error {
6868
}
6969

7070
func listInstallations(hostname, jwt string) (*[]github.Installation, error) {
71-
var responses []github.Installation
7271
page := 0
72+
var responses []github.Installation
7373
for {
7474
endpoint := fmt.Sprintf("https://%s/app/installations?per_page=100&page=%d", hostname, page)
7575
req, err := http.NewRequest("GET", endpoint, nil)

0 commit comments

Comments
 (0)