diff --git a/Analyzer/AnalyzerTool.cs b/Analyzer/AnalyzerTool.cs index 4791606..0f5c48a 100644 --- a/Analyzer/AnalyzerTool.cs +++ b/Analyzer/AnalyzerTool.cs @@ -46,7 +46,7 @@ public int Analyze(string path, string databaseName, string searchPattern, bool Console.Write($"\rProcessing {i * 100 / files.Length}% ({i}/{files.Length}) {file}"); - writer.WriteSerializedFile(serializedFileName, Path.GetDirectoryName(file) + Path.DirectorySeparatorChar); + writer.WriteSerializedFile(serializedFileName, path.TrimEnd(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar); } if (archive != null)