https://pantsbuild.org/ logo
s

stocky-helmet-22655

02/03/2023, 4:37 PM
Is there a way to treat warnings as failures? For example I have warnings like:
Copy code
[WARN] Pants cannot infer owners for the following imports in the target <TARGET>
which lead to failures further on. As this is a warning though, it doesn’t stop the build until a problem occurs later. I would like to fail the build on issues like this so it doesn’t get hidden in the logs
1
3 Views