From ba4b767292f35f876e3e71db6515bfffe0a21ec3 Mon Sep 17 00:00:00 2001 From: TGP Date: Mon, 20 Dec 2021 21:38:16 +0000 Subject: [PATCH] use new deletedir api --- build.cake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.cake b/build.cake index 9a0be22c0..2052f340f 100644 --- a/build.cake +++ b/build.cake @@ -95,7 +95,10 @@ Task("Clean") { if (DirectoryExists(artifactsDir)) { - DeleteDirectory(artifactsDir, recursive:true); + DeleteDirectory(artifactsDir, new DeleteDirectorySettings { + Recursive = true, + Force = true + }); } CreateDirectory(artifactsDir); });