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

should exit with non-zero exit code on warning #920

Open
caiodelgadonew opened this issue Jun 5, 2020 · 1 comment
Open

should exit with non-zero exit code on warning #920

caiodelgadonew opened this issue Jun 5, 2020 · 1 comment

Comments

@caiodelgadonew
Copy link

puppet-lint 2.4.2 returns 0 when showing a warning in a checked file. It should return a non-zero exit code for pipeline integrations with checkstyle

@mrburrito
Copy link

Just discovered the --fail-on-warnings flag... have to run puppet-lint --help to find it! It would be great if those flags were in the general documentation on puppet-lint.com!

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

No branches or pull requests

3 participants