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.
1 parent 81aec6d commit 350613cCopy full SHA for 350613c
services/gitdiff/gitdiff.go
@@ -118,7 +118,7 @@ func (d *DiffLine) GetHTMLDiffLineType() string {
118
119
// CanComment returns whether a line can get commented
120
func (d *DiffLine) CanComment() bool {
121
- return len(d.Comments) == 0 && d.Type != DiffLineSection
+ return len(d.Comments) == 0
122
}
123
124
// GetCommentSide returns the comment side of the first comment, if not set returns empty string
0 commit comments