diff options
author | Colin Cross <ccross@android.com> | 2021-03-04 10:01:34 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2021-03-04 10:01:34 -0800 |
commit | 5c113d13eb64f40e5d0d4212ca112cacc7979756 (patch) | |
tree | 9ca93fe8eefb8eb2411bd24c2738e1e43e99c4aa /java/java.go | |
parent | 00d93b143f3409241cf026be71e56dd696539e16 (diff) |
Remove lint outputs to prevent showing old lint results on error
The lint rules dumped the text output file to stdout on error. If the
lint binary exited without updating the output file it would show old
results.
Remove the output files before running lint, and only dump the text
output file if it exists.
Bug: 181681346
Test: m lint-check
Change-Id: I4fa962b1212e8715f234912a9a5e049d5c1540e8
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions