diff --git a/v2/internal/runner/update.go b/v2/internal/runner/update.go index 29014641..c813e7e8 100644 --- a/v2/internal/runner/update.go +++ b/v2/internal/runner/update.go @@ -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