Skip to content

Commit dcc30de

Browse files
committed
Add # to comment
1 parent 9fadd39 commit dcc30de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

evaluator.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ func (s CommentFilterer) Filter(file *gitdiff.File) *Reasons {
125125
if strings.HasPrefix(strings.TrimSpace(line.Line), "//") {
126126
continue
127127
}
128+
if strings.HasPrefix(strings.TrimSpace(line.Line), "#") {
129+
continue
130+
}
128131
return nil
129132
}
130133
}

0 commit comments

Comments
 (0)