瀏覽代碼

Fixed is empty method

Marcel Baumgartner 2 年之前
父節點
當前提交
08e4a9df22
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
     {