mirror of https://github.com/daffainfo/nuclei.git
Mark error for template syntax warning
parent
4a59c3dd84
commit
ef3397b84d
|
@ -35,6 +35,7 @@ func LoadTemplate(templatePath string, tagFilter *filter.TagFilter, extraTags []
|
|||
}
|
||||
|
||||
if validationError := validateTemplateFields(template); validationError != nil {
|
||||
stats.Increment(SyntaxErrorStats)
|
||||
return false, validationError
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue