mirror of
https://github.com/projectdiscovery/nuclei
synced 2026-06-08 16:50:47 +00:00
63e5492ce3
Add the crate-ci/typos GitHub Action to automatically catch spelling errors in future PRs. This includes: - New `.github/workflows/typos.yaml` workflow that runs on pushes to dev, pull requests, and manual dispatch - `_typos.toml` configuration to suppress false positives from non-English READMEs, test fixtures, certificate data, CLI flag short names, and intentional identifiers - Fix genuine typos found by the tool: - `PostReuestsHandlerRequest` -> `PostRequestsHandlerRequest` - `fiter` -> `filter` - `thant` -> `that` - `seperate` -> `separate` - `ExludedDastTmplStats` -> `ExcludedDastTmplStats` - `splitted` -> `split` (local variables) - `formated` -> `formatted` (local variables) - Rename `worflow_loader.go` -> `workflow_loader.go` Fixes #6532
13 lines
484 B
Go
13 lines
484 B
Go
package model
|
|
|
|
// TODO shouldn't this rather be TemplateLoader?
|
|
|
|
// WorkflowLoader is a loader interface required for workflow initialization.
|
|
type WorkflowLoader interface {
|
|
// GetTemplatePathsByTags returns a list of template paths based on the provided tags from the templates directory
|
|
GetTemplatePathsByTags(tags []string) []string
|
|
|
|
// GetTemplatePaths takes a list of templates and returns paths for them
|
|
GetTemplatePaths(templatesList []string, noValidate bool) []string
|
|
}
|