mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 14:25:25 +00:00
Don't match for metadata on workflow
This commit is contained in:
parent
08fdc3bdcc
commit
f5ea35d45c
@ -48,8 +48,7 @@ func LoadWorkflow(templatePath string, tagFilter *filter.TagFilter) (bool, error
|
|||||||
if validationError := validateMandatoryInfoFields(&templateInfo); validationError != nil {
|
if validationError := validateMandatoryInfoFields(&templateInfo); validationError != nil {
|
||||||
return false, validationError
|
return false, validationError
|
||||||
}
|
}
|
||||||
|
return true, nil
|
||||||
return isTemplateInfoMetadataMatch(tagFilter, &templateInfo, nil) // we don't want workflows to be loaded by tags
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false, nil
|
return false, nil
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user