1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 08:38:13 -07:00
This commit is contained in:
Cedric Beust 2015-12-02 19:08:10 -08:00
parent 61d94cdc6b
commit ffe36a1814

View file

@ -29,7 +29,7 @@ class LocalProperties {
fun get(name: String, docUrl: String? = null) : String {
this.docUrl = docUrl
val result = localProperties[name]
val result = localProperties.getProperty(name)
?: throw KobaltException("Couldn't find $name in local.properties", docUrl = docUrl)
return result as String
}