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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user