Skip to content

Commit

Permalink
chore: more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Oct 29, 2024
1 parent a3d0821 commit 47e29b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scm/github/app_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
)

// ProcessInstallation takes a GitHub installation and processes the changes.
func (c *client) ProcessInstallation(ctx context.Context, request *http.Request, webhook *internal.Webhook, db database.Interface) error {
func (c *client) ProcessInstallation(ctx context.Context, _ *http.Request, webhook *internal.Webhook, db database.Interface) error {
c.Logger.Tracef("processing GitHub App installation")

errs := []string{}
Expand Down Expand Up @@ -139,7 +139,7 @@ func updateRepoInstallationID(ctx context.Context, webhook *internal.Webhook, r
}

// FinishInstallation completes the web flow for a GitHub App installation, returning a redirect to the app installation page.
func (c *client) FinishInstallation(ctx context.Context, request *http.Request, installID int64) (string, error) {
func (c *client) FinishInstallation(ctx context.Context, _ *http.Request, installID int64) (string, error) {
c.Logger.Tracef("finishing GitHub App installation for ID %d", installID)

client, err := c.newGithubAppClient()
Expand Down

0 comments on commit 47e29b4

Please sign in to comment.