mzack 2024-03-12 14:56:53 +01:00
parent a335e4962e
commit 4b43bd0c65
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ var (
func LoadTemplate(templatePath string, tagFilter *filter.TagFilter, extraTags []string, catalog catalog.Catalog) (bool, error) { func LoadTemplate(templatePath string, tagFilter *filter.TagFilter, extraTags []string, catalog catalog.Catalog) (bool, error) {
template, templateParseError := ParseTemplate(templatePath, catalog) template, templateParseError := ParseTemplate(templatePath, catalog)
if templateParseError != nil { if templateParseError != nil {
return false, fmt.Errorf(CouldNotLoadTemplate, templatePath, templateParseError) return false, ErrCouldNotLoadTemplate.Msgf(templatePath, templateParseError)
} }
if len(template.Workflows) > 0 { if len(template.Workflows) > 0 {