https://kotlinlang.org logo
#detekt
Title
# detekt
l

Lam Pham

11/09/2023, 12:16 AM
Hello, I'm trying to run detekt in pre-commit. However, I keep getting exit code 0 even if there are failures in the report. from my understanding, setting
--max-issues
(or
maxIssue
in the config file) to 0 should help get a non 0 exit code, right? what am I missing? I'm using detekt cli 1.19.0 (also tried 1.23.3 but got the samething)
s

schalkms

11/16/2023, 8:25 PM
Please create an issue with detailed repro steps in the repo if the problem still persists. Thanks for your help and sorry for the late reply.