Skip to content

Commit

Permalink
Use d.DeleteDirectory() in Build.cs from Nuke Build.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Dec 12, 2023
1 parent 549ff90 commit 3f8e40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Builder/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected override void OnBuildInitialized()
var dir = project.Directory;
var binAndObjs = dir.GlobDirectories("**/bin", "**/obj");
foreach (var d in binAndObjs) {
DeleteDirectory(d);
d.DeleteDirectory();
}
}

Expand Down

0 comments on commit 3f8e40a

Please sign in to comment.