Skip to content

Commit 01e1040

Browse files
committed
fix for isEmpty
1 parent 1449685 commit 01e1040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RdaConsole/RDAFolderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static bool IsEmpty(this RDAFolder folder)
1616
{
1717
try
1818
{
19-
return !(folder.Files.Any() && folder.Folders.Any());
19+
return folder.Folders.Count() == 0 && folder.Files.Count() == 0;
2020
}
2121
catch (Exception e)
2222
{

0 commit comments

Comments
 (0)