Skip to content

Commit

Permalink
Update repoOwners.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mouismail authored Sep 26, 2024
1 parent cfc4d51 commit 6841ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repoOwners.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func checkAppInstallation(client *github.Client, owner, repo, appSlug string, li
log.Printf("Error fetching app installations: %v", err)
return
}

// TODO: o(n'2) to be refactored to be o(log n) max
for _, installation := range installations {
if installation.AppSlug != nil && *installation.AppSlug == appSlug {
// Check if the app is installed on the specific repository
Expand Down

0 comments on commit 6841ace

Please sign in to comment.