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

Error Prone should fail on non-existing flag #1275

Closed
thalescm opened this issue May 6, 2019 · 0 comments · Fixed by #2080
Closed

Error Prone should fail on non-existing flag #1275

thalescm opened this issue May 6, 2019 · 0 comments · Fixed by #2080

Comments

@thalescm
Copy link

thalescm commented May 6, 2019

Passing a non-existing flag doesn't fail ErrorProne.
For example: passing -XepDisableAllWarnings (which doesn't exist), Error Prone will ignore it and continue to run normally. This is specially warning as this can potentially cause a lot of false positives if you accidentally add any configuration as a typo.

copybara-service bot pushed a commit that referenced this issue Jan 8, 2021
Fixes #1275

PiperOrigin-RevId: 350621866
stevie400 pushed a commit to HubSpot/error-prone that referenced this issue Jan 15, 2021
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

Successfully merging a pull request may close this issue.

1 participant