1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Warn, don't throw.

This commit is contained in:
Cedric Beust 2015-12-03 21:35:44 -08:00
parent e27b2a5a97
commit 184eabae50

View file

@ -13,7 +13,7 @@ class LocalProperties {
val result = Properties()
val filePath = Paths.get("local.properties")
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 ->