You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We like to use the Validator Jar on command line in CI to validate our profiles against examples. For CI it would be very helpful, if the validator wouldn't exit with code zero on errors so the CI errors also.
The text was updated successfully, but these errors were encountered:
Thanks @grahamegrieve. Unfortunately using the number of errors as exit code isn't the way exit codes are used normally (at least in POSIX - not sure about Windows). The concrete exit code should describe the class of error occurred. Just using 1 for all error cases is good enough. Here is a good read: https://shapeshed.com/unix-exit-codes/
We like to use the Validator Jar on command line in CI to validate our profiles against examples. For CI it would be very helpful, if the validator wouldn't exit with code zero on errors so the CI errors also.
The text was updated successfully, but these errors were encountered: