mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 12:15:24 +00:00
lint
This commit is contained in:
parent
b05359bc82
commit
608159bbbe
@ -347,7 +347,7 @@ func (store *Store) LoadTemplatesOnlyMetadata() error {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
loadedTemplateIDs.Set(template.ID, struct{}{})
|
_ = loadedTemplateIDs.Set(template.ID, struct{}{})
|
||||||
template.Path = templatePath
|
template.Path = templatePath
|
||||||
store.templates = append(store.templates, template)
|
store.templates = append(store.templates, template)
|
||||||
}
|
}
|
||||||
@ -509,7 +509,7 @@ func (store *Store) LoadTemplatesWithTags(templatesList, tags []string) []*templ
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
loadedTemplateIDs.Set(tmpl.ID, struct{}{})
|
_ = loadedTemplateIDs.Set(tmpl.ID, struct{}{})
|
||||||
|
|
||||||
loadedTemplates.Append(tmpl)
|
loadedTemplates.Append(tmpl)
|
||||||
// increment signed/unsigned counters
|
// increment signed/unsigned counters
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user