Don't pretty-print exporter json (#3329)

This commit is contained in:
Luck 2022-02-28 20:33:00 +00:00
parent 775f1adf36
commit f840c76e44
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -235,7 +235,7 @@ public abstract class Exporter implements Runnable {
this.log.log("Finished gathering data, writing file...");
try (BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new GZIPOutputStream(Files.newOutputStream(this.filePath)), StandardCharsets.UTF_8))) {
GsonProvider.prettyPrinting().toJson(json, out);
GsonProvider.normal().toJson(json, out);
} catch (IOException e) {
e.printStackTrace();
}