mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Warning.
This commit is contained in:
parent
61d94cdc6b
commit
ffe36a1814
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue