Skip to content

Commit

Permalink
fix: improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Aug 1, 2022
1 parent 06f03de commit 1a54007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/archivefiles/archivefiles.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 1a54007

Please sign in to comment.