Open vasilvestre opened 1 year ago
Unfortunately, it looks like Yamale writes to stdout
instead of stderr
when validation fails. You should open a separate issue for that.
To get around that limitation, you can do the following:
output=$(yamale -s my.schema my.yaml) || echo "$output"
When you work with a lot of files in CI and want to report every errors, it's quite difficult to do.