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
mockery exits successfully (exit code 0) if configuration is invalid #311
Comments
This is due to the following code in
Changing the |
Hey thanks for the find. This is indeed a mistake, simply returning the error here should be sufficient. It looks like I also missed the line here: Line 38 in bb846af
That also needs to print the stack on errors. If you could send in a PR we'll get that merged right away! |
Thanks -- opened #312 to address this specific issue of returning |
Add the entry
zzz: aaa
to.mockery.yaml
and run mockery -- the application prints an error that indicates that decoding configuration failed, but still returns 0 to indicate a successful exit:The text was updated successfully, but these errors were encountered: