From 91980b54bf6d4405139b6092515b79af553ccd7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francis=20Pag=C3=A9?= Date: Fri, 3 Nov 2023 15:24:41 -0400 Subject: [PATCH] Fix path issue --- Analyzer/AnalyzerTool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)