Pārlūkot izejas kodu

Fixed is empty method

Marcel Baumgartner 2 gadi atpakaļ
vecāks
revīzija
08e4a9df22
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Moonlight/App/Services/StorageService.cs

+ 1 - 1
Moonlight/App/Services/StorageService.cs

@@ -39,7 +39,7 @@ public class StorageService
 
     private bool IsEmpty(string path)
     {
-        return !Directory.EnumerateFiles(path).Any();
+        return !Directory.EnumerateFileSystemEntries(path).Any();
     }
     private static void CopyFilesRecursively(string sourcePath, string targetPath)
     {