Skip to content

Commit

Permalink
Delete job folder recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Sep 14, 2023
1 parent 1cb8f3a commit a744a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Tingle.Dependabot/Workflow/UpdateRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public async Task DeleteAsync(UpdateJob job, CancellationToken cancellationToken
var jobDirectory = Path.Join(options.WorkingDirectory, job.Id);
if (Directory.Exists(jobDirectory))
{
Directory.Delete(jobDirectory);
Directory.Delete(jobDirectory, recursive: true);
}

// get the period
Expand Down

0 comments on commit a744a5d

Please sign in to comment.