diff --git a/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Properties.kt b/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Properties.kt index d9fc767f160..248e303e0e1 100644 --- a/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Properties.kt +++ b/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Properties.kt @@ -38,8 +38,7 @@ fun File.saveProperties(properties: Properties) { fun Properties.saveToFile(file: File) = file.saveProperties(this) -fun Properties.propertyString(key: String, suffix: String? = null): String? - = this.getProperty(key.suffix(suffix)) +fun Properties.propertyString(key: String, suffix: String? = null): String? = getProperty(key.suffix(suffix)) ?: this.getProperty(key) /** * TODO: this method working with suffixes should be replaced with