Improve logs stripping test (#1443)

This change avoids false-positives in clients
This commit is contained in:
Honza Rychnovský 2024-04-17 14:25:28 +02:00 committed by GitHub
parent 652487e563
commit 1833e866a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ private fun validateAlias(alias: String) {
}
private fun validateLogging() {
if (!BuildConfig.DEBUG) {
if (BuildConfig.BUILD_TYPE == "release") {
// In release builds, logs should be stripped by R8 rules
Twig.assertLoggingStripped()
}