Skip to content

Commit

Permalink
chore: remove pointless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Nov 15, 2023
1 parent 2947ca7 commit cd4374c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/scmprovider/pull_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ type MergeDetails struct {
func (c *Client) GetPullRequest(owner, repo string, number int) (*scm.PullRequest, error) {
ctx := context.Background()
fullName := c.repositoryName(owner, repo)
// Isn't pr.Base.Ref populated?
pr, _, err := c.client.PullRequests.Find(ctx, fullName, number)
if err != nil {
return nil, err
Expand Down

0 comments on commit cd4374c

Please sign in to comment.