Skip to content

Commit

Permalink
Improve logs stripping test (#1443)
Browse files Browse the repository at this point in the history
This change avoids false-positives in clients
  • Loading branch information
HonzaR committed Apr 17, 2024
1 parent 652487e commit 1833e86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 1833e86

Please sign in to comment.