Revert "Revert "Temporary workaround for failing tests on teamcity.""

This reverts commit 2c51799e0a.
This commit is contained in:
Victor Petukhov
2021-12-27 15:56:59 +03:00
parent 9c225c5b56
commit 29f174f074
2 changed files with 2 additions and 2 deletions
@@ -72,7 +72,7 @@ fun getDefaultReportLevelForAnnotation(annotationFqName: FqName) =
fun getReportLevelForAnnotation(
annotation: FqName,
configuredReportLevels: NullabilityAnnotationStates<ReportLevel>,
configuredKotlinVersion: KotlinVersion = KotlinVersion.CURRENT
configuredKotlinVersion: KotlinVersion = KotlinVersion(1, 6, 20)
): ReportLevel {
configuredReportLevels[annotation]?.let { return it }