[skip ci] correct comment
This commit is contained in:
parent
c055317bd0
commit
18989f34d4
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ internal fun getConfig(filename: String = "WorkplaceConfig.yaml"): WorkplaceConf
|
|||
// read file
|
||||
val inputAsString = BufferedReader(FileReader(filename)).use { it.readText() }
|
||||
|
||||
// serializing objects
|
||||
// deserializing
|
||||
val config =
|
||||
if (filename.lowercase().endsWith(".yaml")) {
|
||||
Yaml.default.decodeFromString(WorkplaceConfig.serializer(), inputAsString)
|
||||
|
|
Loading…
Reference in a new issue