Improve readability of messages written to disk for debug purposes

This commit is contained in:
powermaker450 2024-08-02 16:22:11 -04:00
parent b47271c212
commit a6a495e21f

View file

@ -149,7 +149,7 @@ client.connect().then(async () => {
fs.writeFileSync(
"./persist/messages.json",
JSON.stringify(session.data),
JSON.stringify(session.data, null, 2),
"utf8",
);
@ -185,7 +185,7 @@ client.connect().then(async () => {
fs.writeFileSync(
"./persist/messages.json",
JSON.stringify(session.data),
JSON.stringify(session.data, null, 2),
"utf8",
);
@ -230,7 +230,7 @@ client.connect().then(async () => {
fs.writeFileSync(
"./persist/messages.json",
JSON.stringify(session.data),
JSON.stringify(session.data, null, 2),
"utf8",
);