1
0

Pretty-print the config output

This commit is contained in:
Ryan Fox 2020-08-08 00:04:18 +00:00
parent 212f2db61a
commit edd3cc8689
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E

View File

@ -88,7 +88,7 @@ public class Config {
private static void saveConfig() {
try (FileWriter file = new FileWriter(config)) {
file.write(JSONObject.valueToString(json));
file.write(json.toString(2));
} catch (Exception e) {
LOGGER.error("Failed to save config file");
}