mirror of https://github.com/daffainfo/nuclei.git
Fixed occured spelling
parent
94365a58dc
commit
da37020939
|
@ -291,7 +291,7 @@ func (r *Runner) RunEnumeration() {
|
|||
}
|
||||
if r.options.Validate {
|
||||
if !store.ValidateTemplates(r.options.Templates) {
|
||||
gologger.Fatal().Msgf("An Error occured during templates validation\n")
|
||||
gologger.Fatal().Msgf("An Error occurred during templates validation\n")
|
||||
} else {
|
||||
gologger.Info().Msgf("All templates validated successfully\n")
|
||||
os.Exit(0)
|
||||
|
|
|
@ -100,7 +100,7 @@ func (s *Store) ValidateTemplates(templatesList []string) bool {
|
|||
continue
|
||||
}
|
||||
notErrored = false
|
||||
gologger.Error().Msgf("Error occured loading template %s: %s\n", k, err)
|
||||
gologger.Error().Msgf("Error occurred loading template %s: %s\n", k, err)
|
||||
}
|
||||
_, err = templates.Parse(k, s.config.ExecutorOptions)
|
||||
if err != nil {
|
||||
|
@ -111,7 +111,7 @@ func (s *Store) ValidateTemplates(templatesList []string) bool {
|
|||
continue
|
||||
}
|
||||
notErrored = false
|
||||
gologger.Error().Msgf("Error occured parsing template %s: %s\n", k, err)
|
||||
gologger.Error().Msgf("Error occurred parsing template %s: %s\n", k, err)
|
||||
}
|
||||
}
|
||||
return notErrored
|
||||
|
|
Loading…
Reference in New Issue