Compare commits
1 Commits
a554000674
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9fd788bc7f |
@@ -101,9 +101,9 @@ public class AnalyzeCommand : Command
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 扫描日志文件
|
// 扫描日志文件(包含子目录)
|
||||||
var allFiles = LogExtensions
|
var allFiles = LogExtensions
|
||||||
.SelectMany(ext => Directory.GetFiles(dataDir, $"*{ext}"))
|
.SelectMany(ext => Directory.GetFiles(dataDir, $"*{ext}", SearchOption.AllDirectories))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
if (allFiles.Count == 0)
|
if (allFiles.Count == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user