feat(aa): ensure the prebuild jobs are working.
This commit is contained in:
parent
fe4c86a245
commit
23eaa20fb7
5 changed files with 29 additions and 16 deletions
|
|
@ -71,11 +71,11 @@ func Run(file *paths.Path, profile string) (string, error) {
|
|||
opt := NewOption(file, match)
|
||||
drtv, ok := Directives[opt.Name]
|
||||
if !ok {
|
||||
return "", fmt.Errorf("Unknown directive: %s", opt.Name)
|
||||
return "", fmt.Errorf("Unknown directive '%s' in %s", opt.Name, opt.File)
|
||||
}
|
||||
profile, err = drtv.Apply(opt, profile)
|
||||
if err != nil {
|
||||
return "", err
|
||||
return "", fmt.Errorf("%s %s: %w", drtv.Name(), opt.File, err)
|
||||
}
|
||||
}
|
||||
return profile, nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue