Fix the result value of Configuration.obtained not being initialized
This commit is contained in:
parent
b2abce966a
commit
0c107be94b
|
@ -23,7 +23,7 @@ object Configuration {
|
|||
setWritable(true)
|
||||
writeText(base)
|
||||
setReadable(true)
|
||||
} else result = try {
|
||||
}; result = try {
|
||||
ConfigFactory.parseFile(file)
|
||||
} catch (e: ConfigException) {
|
||||
Snowy.logs.warn("Could not parse the snowy configuration file, the default configuration will be used instead.")
|
||||
|
|
Loading…
Reference in New Issue