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