Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wsan3 committed Apr 2, 2024
1 parent c11442a commit 7164ea7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pipeline/ruleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ func (r *Ruletype) MatchSingle(data, matcher, logic string) (bool, error) {
if err != nil {
return false, err
}

if match {
return true, nil
}
Expand All @@ -230,6 +231,7 @@ func (r *Ruletype) MatchMultiple(data []string, matcher, logic string) (bool, er
if err != nil {
return false, err
}

if match {
return true, nil
}
Expand Down

0 comments on commit 7164ea7

Please sign in to comment.