diff --git a/src/Nox.Cli.Plugins/Nox.Cli.Plugin.File/FilePurgeFolder_v1.cs b/src/Nox.Cli.Plugins/Nox.Cli.Plugin.File/FilePurgeFolder_v1.cs index 6a796af..892ce38 100755 --- a/src/Nox.Cli.Plugins/Nox.Cli.Plugin.File/FilePurgeFolder_v1.cs +++ b/src/Nox.Cli.Plugins/Nox.Cli.Plugin.File/FilePurgeFolder_v1.cs @@ -57,11 +57,7 @@ public Task> ProcessAsync(INoxWorkflowContext ctx) try { var fullPath = Path.GetFullPath(_path); - if (!Directory.Exists(fullPath)) - { - ctx.SetErrorMessage($"Folder {fullPath} does not exist!"); - } - else + if (Directory.Exists(fullPath)) { var di = new DirectoryInfo(_path);