Skip to content

Commit

Permalink
Update commenter.go
Browse files Browse the repository at this point in the history
  • Loading branch information
owenrumney authored Nov 7, 2020
1 parent 9f81078 commit cda7430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (c *commenter) WriteMultiLineComment(file, comment string, startLine, endLi
}
}

if !c.checkCommentRelevant(file, startLine) {
if !c.checkCommentRelevant(file, endLine) {
return newCommentNotValidError(file, startLine)
}

Expand Down

0 comments on commit cda7430

Please sign in to comment.