0
0
forked from toolshed/abra

WARN on recipe linting errors during --chaos..

..and show multiple linting errors instead of bailing on the first one.

Re #497
This commit is contained in:
3wc
2025-08-11 11:57:30 +01:00
committed by 3wordchant
parent 56a68dfa91
commit c63f6db61e
2 changed files with 13 additions and 3 deletions

View File

@ -108,7 +108,11 @@ checkout as-is. Recipe commit hashes are also supported as values for
}
if err := lint.LintForErrors(app.Recipe); err != nil {
log.Fatal(err)
if internal.Chaos {
log.Warn(err)
} else {
log.Fatal(err)
}
}
if err := validateSecrets(cl, app); err != nil {