Pleasing the linter

This commit is contained in:
Ice3man543 2021-07-07 19:16:48 +05:30
parent 8a80d11467
commit 8de221f137

View File

@ -85,7 +85,7 @@ func (s *Store) Load() {
// ValidateTemplates takes a list of templates and validates them
// erroring out on discovering any faulty templates.
func (s *Store) ValidateTemplates(templatesList []string, workflowsList []string) bool {
func (s *Store) ValidateTemplates(templatesList, workflowsList []string) bool {
includedTemplates := s.config.Catalog.GetTemplatesPath(templatesList)
includedWorkflows := s.config.Catalog.GetTemplatesPath(workflowsList)
templatesMap := s.pathFilter.Match(includedTemplates)