Skip to content

Commit

Permalink
Remove redundant null check (#5061)
Browse files Browse the repository at this point in the history
getKotlinPluginVersion() never returns `null`
  • Loading branch information
3flex committed Jul 10, 2022
1 parent b643772 commit fe98c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detekt-parser/build.gradle.kts
Expand Up @@ -14,7 +14,7 @@ dependencies {
}

tasks.withType<Test> {
systemProperty("kotlinVersion", getKotlinPluginVersion() ?: embeddedKotlinVersion)
systemProperty("kotlinVersion", getKotlinPluginVersion())

doFirst {
systemProperty("testClasspath", classpath.joinToString(";"))
Expand Down

0 comments on commit fe98c45

Please sign in to comment.