mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 23:19:30 -06:00
fixing delete if empty check
This commit is contained in:
@@ -145,7 +145,7 @@ public class DeleteSourceDirectory : Node
|
||||
args.Logger?.ILog("File: " + file);
|
||||
}
|
||||
|
||||
if(files.Any(x => x.EndsWith(".fftemp")))
|
||||
if(files.Any(x => x.ToLowerInvariant().EndsWith(".fftemp")))
|
||||
{
|
||||
args.Logger?.ILog("Temporary FF file found, cannot delete.");
|
||||
return 2;
|
||||
|
||||
Reference in New Issue
Block a user