We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f04b553 + 81cfebd commit e982384Copy full SHA for e982384
pkg/commenter/github/github.go
@@ -218,7 +218,7 @@ func (c *Github) writeCommentIfRequired(prComment *github.PullRequestComment) er
218
219
// WriteMultiLineComment writes a multiline review on a file in the github PR
220
func (c *Github) WriteMultiLineComment(file, comment string, startLine, endLine int) error {
221
- if startLine == 0 {
+ if startLine == 0 || startLine == commenter.FIRST_AVAILABLE_LINE {
222
startLine = 1
223
}
224
if endLine == 0 {
0 commit comments