Skip to content

Commit ba4b767

Browse files
author
TGP
committed
use new deletedir api
1 parent 47a024b commit ba4b767

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.cake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ Task("Clean")
9595
{
9696
if (DirectoryExists(artifactsDir))
9797
{
98-
DeleteDirectory(artifactsDir, recursive:true);
98+
DeleteDirectory(artifactsDir, new DeleteDirectorySettings {
99+
Recursive = true,
100+
Force = true
101+
});
99102
}
100103
CreateDirectory(artifactsDir);
101104
});

0 commit comments

Comments
 (0)