mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Warn, don't throw.
This commit is contained in:
parent
e27b2a5a97
commit
184eabae50
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class LocalProperties {
|
||||||
val result = Properties()
|
val result = Properties()
|
||||||
val filePath = Paths.get("local.properties")
|
val filePath = Paths.get("local.properties")
|
||||||
if (! Files.exists(filePath)) {
|
if (! Files.exists(filePath)) {
|
||||||
throw KobaltException("Couldn't find a local.properties file", docUrl = docUrl)
|
warn("Couldn't find a local.properties file")
|
||||||
}
|
}
|
||||||
|
|
||||||
filePath.let { path ->
|
filePath.let { path ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue