Skip to content

Commit

Permalink
fix: return repo
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Oct 31, 2024
1 parent ac86e63 commit 3916cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scm/github/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ func (c *client) SyncRepoWithInstallation(ctx context.Context, r *api.Repo) (*ap
}

if installation == nil {
return nil, nil
return r, nil
}

installationCanReadRepo, err := c.installationCanReadRepo(ctx, r, installation)
Expand Down

0 comments on commit 3916cbe

Please sign in to comment.