Merge pull request #5852 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x

fix(deps): update dependency io.nlopez.compose.rules:detekt to v0.5.1
This commit is contained in:
Benoit Marty 2025-12-08 15:05:12 +01:00 committed by GitHub
commit f76d817b4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 23 additions and 40 deletions

View file

@ -71,7 +71,7 @@ class DefaultPinCodeManager(
lockScreenStore.onWrongPin()
}
}
} catch (failure: Throwable) {
} catch (_: Throwable) {
false
}
}

View file

@ -112,7 +112,7 @@ fun EventDebugInfoView(
private fun prettyJSON(maybeJSON: String): String {
return try {
JSONObject(maybeJSON).toString(2)
} catch (e: JSONException) {
} catch (_: JSONException) {
// Prefer not pretty-printing over crashing if the data is not actually JSON
maybeJSON
}