mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:45:27 +00:00
Add directory style support for templates
This commit is contained in:
parent
ae5f54dce9
commit
1b835085e6
@ -126,7 +126,7 @@ func (r *Runner) RunEnumeration() {
|
||||
Unsorted: true,
|
||||
})
|
||||
if err != nil {
|
||||
gologger.Fatalf("Error, walking directory: '%s': %s\n", r.options.Templates, err)
|
||||
gologger.Fatalf("Could not find templates in directory '%s': %s\n", r.options.Templates, err)
|
||||
}
|
||||
// 0 matches means no templates were found in directory
|
||||
if len(matches) == 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user