Fixed tag inclusion logic

dev
Ice3man543 2021-07-06 17:37:18 +05:30
parent 4db5e92cee
commit b7d1d5e69e
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func (t *TagFilter) MatchWithAllowedTags(allowed []string, tag, author, severity
matchedAny = true matchedAny = true
} }
_, ok := t.block[tag] _, ok := t.block[tag]
if ok { if ok && !matchedAny {
if _, allowOk := t.matchAllows[tag]; allowOk { if _, allowOk := t.matchAllows[tag]; allowOk {
return true, nil return true, nil
} }