2
0

Compare commits

..

No commits in common. "713bbc230fd09a70c911d81554aa19fe4e500efa" and "c11c68d6d752b509ac15a97d58b9262424320ea7" have entirely different histories.

View File

@ -189,7 +189,7 @@ public class JobBoss : GlobalBase
internal void UpdateJobFile(Job job, string? oldFile = null)
{
string newJobFilePath = Path.Join(TrangaSettings.jobsFolderPath, $"{job.id}.json");
string oldFilePath = Path.Join(TrangaSettings.jobsFolderPath, oldFile??$"{job.id}.json");
string oldFilePath = Path.Join(TrangaSettings.jobsFolderPath, oldFile);
//Delete old file
if (File.Exists(oldFilePath))