Skip to content

Commit

Permalink
Merge pull request #76 from aquasecurity/saas-16460-add-gradle-non-lock
Browse files Browse the repository at this point in the history
fix comments
  • Loading branch information
MorAlon1 authored Jan 7, 2024
2 parents 45322f0 + 4ed34b6 commit 844341a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commenter/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (c *Github) writeCommentIfRequired(prComment *github.PullRequestComment) er

// WriteMultiLineComment writes a multiline review on a file in the github PR
func (c *Github) WriteMultiLineComment(file, comment string, startLine, endLine int) error {
if startLine == 0 || startLine == commenter.FIRST_AVAILABLE_LINE {
if startLine == 0 {
startLine = 1
}
if endLine == 0 {
Expand Down

0 comments on commit 844341a

Please sign in to comment.