Skip to content

Commit e2aab30

Browse files
probablycoreyNate Smith
andauthored
just return the err
Co-authored-by: Nate Smith <vilmibm@github.com>
1 parent 23c072b commit e2aab30

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

api/queries_issue.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,5 @@ func IssueReopen(client *Client, repo ghrepo.Interface, issue Issue) error {
407407
v4 := githubv4.NewClient(client.http)
408408
err := v4.Mutate(context.Background(), &mutation, input, nil)
409409

410-
if err != nil {
411-
return err
412-
}
413-
414-
return nil
410+
return err
415411
}

0 commit comments

Comments
 (0)