Fixed occured spelling

dev
Ice3man543 2021-07-07 19:05:26 +05:30
parent 94365a58dc
commit da37020939
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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