Compare commits
2 Commits
c11c68d6d7
...
713bbc230f
Author | SHA1 | Date | |
---|---|---|---|
713bbc230f | |||
32ab9a552f |
@ -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);
|
||||
string oldFilePath = Path.Join(TrangaSettings.jobsFolderPath, oldFile??$"{job.id}.json");
|
||||
|
||||
//Delete old file
|
||||
if (File.Exists(oldFilePath))
|
||||
|
Loading…
Reference in New Issue
Block a user