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:
parent
36387c374d
commit
4354d37ecf
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue