-
Notifications
You must be signed in to change notification settings - Fork 297
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
Conftest doesn't exit with plugin exit code #741
Comments
Thanks for raising this. If you have the time, I'd welcome a PR to fix. |
@jalseth unfortunately I'm not that good at programming on Go |
@iAlexBLR this is sort of by design, see: https://www.conftest.dev/plugins/ (at the bottom) It has been a long time since I've dealt with plugins in Conftest, but do recall plugins needing to specify other error codes. I can see how this can be confusing though, and I don't recall the technical reason for it unfortunately. |
Issue:
I've created a conftest plugin for some custom behaviour, but I noticed that conftest when uses installed plugin always returns 0 exit code even if plugin itself returns another one.
Reproduce steps:
script.sh
plugin.yaml
Testing:
The text was updated successfully, but these errors were encountered: