Fix formatting in Configuration.kt
This commit is contained in:
parent
aea49cfe06
commit
686959a9aa
|
@ -24,17 +24,17 @@ object Configuration {
|
||||||
launch {
|
launch {
|
||||||
file.writeText(
|
file.writeText(
|
||||||
"""
|
"""
|
||||||
Snowy {
|
|Snowy {
|
||||||
${
|
|${
|
||||||
c.root().render(
|
c.root().render(
|
||||||
ConfigRenderOptions.defaults()
|
ConfigRenderOptions.defaults()
|
||||||
.setFormatted(true)
|
.setFormatted(true)
|
||||||
.setJson(false)
|
.setJson(false)
|
||||||
.setOriginComments(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