Skip to content

Commit b1dcd63

Browse files
committed
fix lint
1 parent cb92b17 commit b1dcd63

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

models/issue.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -667,11 +667,7 @@ func (issue *Issue) changeStatus(e *xorm.Session, doer *User, isClosed bool) (er
667667
if err != nil {
668668
return err
669669
}
670-
if err = sendCreateCommentAction(e, opts, comment); err != nil {
671-
return err
672-
}
673-
674-
return nil
670+
return sendCreateCommentAction(e, opts, comment)
675671
}
676672

677673
// ChangeStatus changes issue status to open or closed.

0 commit comments

Comments
 (0)