Compare commits
No commits in common. "713bbc230fd09a70c911d81554aa19fe4e500efa" and "c11c68d6d752b509ac15a97d58b9262424320ea7" have entirely different histories.
713bbc230f
...
c11c68d6d7
@ -189,7 +189,7 @@ public class JobBoss : GlobalBase
|
|||||||
internal void UpdateJobFile(Job job, string? oldFile = null)
|
internal void UpdateJobFile(Job job, string? oldFile = null)
|
||||||
{
|
{
|
||||||
string newJobFilePath = Path.Join(TrangaSettings.jobsFolderPath, $"{job.id}.json");
|
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
|
//Delete old file
|
||||||
if (File.Exists(oldFilePath))
|
if (File.Exists(oldFilePath))
|
||||||
|
Loading…
Reference in New Issue
Block a user