Skip to content

Commit bddc76d

Browse files
committed
Fixed configuration indent
1 parent 29b2a77 commit bddc76d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/lambda/config/Configuration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ abstract class Configuration : Jsonable, Loadable {
100100
private fun save() = runCatching {
101101
primary.createIfNotExists()
102102
.let {
103-
it.writeText(toJson().toString())
103+
it.writeText(gson.toJson(toJson()))
104104
it.copyTo(backup, true)
105105
}
106106
}

0 commit comments

Comments
 (0)