Hi folks. This is odd. I have Detekt setup on a moderately sized app. I have baseline files I generated a few weeks ago.
• If I run
gradlew detekt
, it reports no errors.
• If i run
gradlew detektBaseline
, it regenerates my baseline files and both adds and removes entries. This implies there
are errors according to baseline, but not to the main checker.
• If I delete all of the items in one baseline file and rerun
detekt
, it reports no issues. But running
detektBaseline
did not remove any lines from that file, so baseline thinks they’re still issues.
• If I then rerun
detektBaseline
, it re-adds the lines I just removed to the baseline file.
It’s… like
detekt
is working in an entirely different world from baseline. Can anyone explain what’s going on?