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