mirror of https://github.com/daffainfo/nuclei.git
Fix for template directory location override
parent
63bc417398
commit
0088893310
|
@ -127,7 +127,7 @@ func (r *Runner) updateTemplates() error {
|
|||
}
|
||||
|
||||
ctx := context.Background()
|
||||
if r.templatesConfig.CurrentVersion == "" || (r.options.TemplatesDirectory != "" && r.templatesConfig.TemplatesDirectory != r.options.TemplatesDirectory) {
|
||||
if r.templatesConfig.CurrentVersion == "" {
|
||||
gologger.Info().Msgf("nuclei-templates are not installed, installing...\n")
|
||||
|
||||
// Use custom location if user has given a template directory
|
||||
|
|
Loading…
Reference in New Issue