Skip to content

Commit

Permalink
Suppress Detekt warning
Browse files Browse the repository at this point in the history
Otherwise code might not be that readable anymore
  • Loading branch information
Marcono1234 committed Aug 2, 2023
1 parent 8bfc587 commit 55d5830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/io/github/mojira/arisa/ModuleExecutor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class ModuleExecutor(
val moduleName = response.first
response.second.fold(
{
@Suppress("detekt:OptionalWhenBraces")
when (it) {
is OperationNotNeededModuleResponse -> {
if (config[Arisa.Debug.logOperationNotNeeded]) {
Expand Down

0 comments on commit 55d5830

Please sign in to comment.