diff --git a/Source/Build.Tasks/DelTree.cs b/Source/Build.Tasks/DelTree.cs index e74cedaf..341eca21 100644 --- a/Source/Build.Tasks/DelTree.cs +++ b/Source/Build.Tasks/DelTree.cs @@ -57,13 +57,13 @@ namespace Build.Tasks try { System.IO.Directory.Delete(Path, true); + return true; } catch (Exception e) { Log.LogErrorFromException(e); return false; } - return true; } } }