Simplify only place CreateAndParse was called

This commit is contained in:
Matt Nadareski
2025-01-31 23:03:25 -05:00
parent ebfe71d9c2
commit 3d2e599735
3 changed files with 19 additions and 20 deletions

View File

@@ -76,7 +76,7 @@ namespace SabreTools.DatTools
InternalStopwatch watch = new($"Collecting statistics for '{file.CurrentPath}'");
List<string> machines = [];
DatFile datdata = Parser.CreateAndParse(file.CurrentPath, statsOnly: true, throwOnError: throwOnError);
DatFile datdata = Parser.ParseStatistics(file.CurrentPath, throwOnError: throwOnError);
// Add single DAT stats (if asked)
if (single)