Skip to content

Commit

Permalink
- removed the error when a folder does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-schutte committed May 7, 2024
1 parent 9cb2602 commit e023a1b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ public Task<IDictionary<string, object>> 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);

Expand Down

0 comments on commit e023a1b

Please sign in to comment.