Skip to content

Commit

Permalink
Add # to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Mar 16, 2022
1 parent 9fadd39 commit dcc30de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions evaluator.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ func (s CommentFilterer) Filter(file *gitdiff.File) *Reasons {
if strings.HasPrefix(strings.TrimSpace(line.Line), "//") {
continue
}
if strings.HasPrefix(strings.TrimSpace(line.Line), "#") {
continue
}
return nil
}
}
Expand Down

0 comments on commit dcc30de

Please sign in to comment.