[skip ci] correct comment

This commit is contained in:
ansgarz 2022-01-01 20:13:59 +01:00
parent c055317bd0
commit 18989f34d4

View file

@ -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)