Join Slack
Hey, is there a detekt rule for failing builds if `when` branches are not exhaustive?
# detekt
a
Alex
04/14/2021, 10:02 AM
Hey, is there a detekt rule for failing builds if
when
branches are not exhaustive?
g
gammax
04/14/2021, 10:03 AM
yes
MissingWhenCase
gammax
04/14/2021, 10:03 AM
https://github.com/detekt/detekt/blob/main/detekt-rules-errorprone/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/bugs/MissingWhenCase.kt
a
Alex
05/17/2021, 7:03 AM
cheers man!
g
gammax
05/17/2021, 7:17 AM
Cheers 😅
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by