2
0

Export job files indented.

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

View File

@ -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);