mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-19 23:42:51 +08:00
use new deletedir api
This commit is contained in:
parent
47a024b844
commit
ba4b767292
@ -95,7 +95,10 @@ Task("Clean")
|
||||
{
|
||||
if (DirectoryExists(artifactsDir))
|
||||
{
|
||||
DeleteDirectory(artifactsDir, recursive:true);
|
||||
DeleteDirectory(artifactsDir, new DeleteDirectorySettings {
|
||||
Recursive = true,
|
||||
Force = true
|
||||
});
|
||||
}
|
||||
CreateDirectory(artifactsDir);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user