1
0
mirror of https://github.com/C9Glax/tranga.git synced 2025-04-30 20:22:26 +02:00

Export job files indented.

This commit is contained in:
Glax 2024-04-25 21:32:48 +02:00
parent c6d0168d2f
commit 3d855020eb

@ -192,7 +192,7 @@ public class JobBoss : GlobalBase
else
{
Log($"Exporting Job {newJobFilePath}");
string jobStr = JsonConvert.SerializeObject(job);
string jobStr = JsonConvert.SerializeObject(job, Formatting.Indented);
while(IsFileInUse(newJobFilePath))
Thread.Sleep(10);
File.WriteAllText(newJobFilePath, jobStr);