Fix badging warning by suppressing it
This commit is contained in:
parent
7223c0b67a
commit
487ac87731
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ abstract class CheckBadgingTask : DefaultTask() {
|
|||
generatedBadgingContent.lines(),
|
||||
).filter { row -> row.tag != DiffRow.Tag.EQUAL }
|
||||
.joinToString("\n") { row ->
|
||||
@Suppress("WHEN_ENUM_CAN_BE_NULL_IN_JAVA")
|
||||
when (row.tag) {
|
||||
DiffRow.Tag.INSERT -> {
|
||||
"+ ${row.newLine}"
|
||||
|
|
Loading…
Reference in a new issue