refactor: reformat code

This commit is contained in:
Akash Yadav
2023-10-03 22:47:58 +05:30
parent 019abd04ff
commit 1a79c0bbf2
4 changed files with 3 additions and 7 deletions
@@ -55,7 +55,9 @@ inline fun Throwable.ifCancelledOrInterrupted(suppress: Boolean = false, action:
is InterruptedException,
is InterruptedIOException -> {
action()
if (!suppress) { throw this }
if (!suppress) {
throw this
}
}
}
}