Skip to content

Commit 91980b5

Browse files
committed
Fix path issue
1 parent e64565f commit 91980b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Analyzer/AnalyzerTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public int Analyze(string path, string databaseName, string searchPattern, bool
4646

4747
Console.Write($"\rProcessing {i * 100 / files.Length}% ({i}/{files.Length}) {file}");
4848

49-
writer.WriteSerializedFile(serializedFileName, Path.GetDirectoryName(file) + Path.DirectorySeparatorChar);
49+
writer.WriteSerializedFile(serializedFileName, path.TrimEnd(Path.DirectorySeparatorChar) + Path.DirectorySeparatorChar);
5050
}
5151

5252
if (archive != null)

0 commit comments

Comments
 (0)