Fix formatting in Configuration.kt
This commit is contained in:
parent
aea49cfe06
commit
686959a9aa
|
@ -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()
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue