Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule Load Failure Exit Code #8

Closed
rmorris1218 opened this issue Dec 3, 2018 · 0 comments
Closed

Rule Load Failure Exit Code #8

rmorris1218 opened this issue Dec 3, 2018 · 0 comments

Comments

@rmorris1218
Copy link
Contributor

rmorris1218 commented Dec 3, 2018

On rule failure, exit code is 0

Example:

$ config-lint -rules config_lint_rules/config_lint_default_rules.yml .
Failed to load rules: error unmarshaling JSON: json: cannot unmarshal array into Go struct field Expression.Value of type string
$ echo $?
0

Expected behavior:
exit code is 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants