Skip to content
Permalink
Browse files
fix: improve error message
  • Loading branch information
caarlos0 committed Aug 1, 2022
1 parent 06f03de commit 1a54007a184eca56473a09f6eb34693eb7883762
Showing 1 changed file with 1 addition and 1 deletion.
@@ -23,7 +23,7 @@ func Eval(template *tmpl.Template, files []config.File) ([]config.File, error) {

files, err := fileglob.Glob(replaced)
if err != nil {
return result, fmt.Errorf("globbing failed for pattern %s: %w", f.Source, err)
return result, fmt.Errorf("globbing failed for pattern %s: %w", replaced, err)
}

for _, file := range files {

0 comments on commit 1a54007

Please sign in to comment.