Fixed bug with workflow

dev
Ice3man543 2021-07-06 13:18:18 +05:30
parent b7a5287370
commit 142e3709c7
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ func Load(templatePath string, workflow bool, customTags []string, tagFilter *fi
var match bool
var err error
if len(customTags) > 0 {
if len(customTags) == 0 {
match, err = tagFilter.Match(strings.TrimSpace(tag), strings.TrimSpace(author), severityStr)
} else {
match, err = tagFilter.MatchWithAllowedTags(customTags, strings.TrimSpace(tag), strings.TrimSpace(author), severityStr)