just return the err

Co-authored-by: Nate Smith <vilmibm@github.com>
This commit is contained in:
Corey Johnson 2020-04-30 08:59:14 -07:00 committed by GitHub
parent 23c072b39d
commit e2aab30836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -407,9 +407,5 @@ func IssueReopen(client *Client, repo ghrepo.Interface, issue Issue) error {
v4 := githubv4.NewClient(client.http)
err := v4.Mutate(context.Background(), &mutation, input, nil)
if err != nil {
return err
}
return nil
return err
}