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

Don't warn if local.properties doesn't exist.

Getting an nonexistent value will throw anyway.
This commit is contained in:
Cedric Beust 2015-12-07 21:53:40 -08:00
parent 36387c374d
commit 4354d37ecf

View file

@ -12,10 +12,6 @@ class LocalProperties {
val localProperties: Properties by lazy {
val result = Properties()
val filePath = Paths.get("local.properties")
if (! Files.exists(filePath)) {
warn("Couldn't find a local.properties file")
}
filePath.let { path ->
if (Files.exists(path)) {
Files.newInputStream(path).use {