Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Nov 23, 2019
1 parent cb92b17 commit b1dcd63
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions models/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,11 +667,7 @@ func (issue *Issue) changeStatus(e *xorm.Session, doer *User, isClosed bool) (er
if err != nil {
return err
}
if err = sendCreateCommentAction(e, opts, comment); err != nil {
return err
}

return nil
return sendCreateCommentAction(e, opts, comment)
}

// ChangeStatus changes issue status to open or closed.
Expand Down

0 comments on commit b1dcd63

Please sign in to comment.