Fix formatting in Configuration.kt

This commit is contained in:
Username404 2021-05-28 17:35:11 +02:00
parent aea49cfe06
commit 686959a9aa
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 6 additions and 6 deletions

View File

@ -24,17 +24,17 @@ object Configuration {
launch {
file.writeText(
"""
Snowy {
${
|Snowy {
|${
c.root().render(
ConfigRenderOptions.defaults()
.setFormatted(true)
.setJson(false)
.setOriginComments(false)
).trimEnd()
).prependIndent(" ").trimEnd()
}
}
""".trimIndent()
|}
""".trimMargin()
)
}
}
@ -99,7 +99,7 @@ object Configuration {
}
}
}
writeConfig(obtained.withValue("enabledFeatures", ConfigValueFactory.fromMap(enabledFeatures))).join() // TODO Fix formatting of enabledFeatures
writeConfig(obtained.withValue("enabledFeatures", ConfigValueFactory.fromMap(enabledFeatures))).join()
}
}
)