Skip to content

Commit

Permalink
Fix path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-page committed Nov 3, 2023
1 parent e64565f commit 91980b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Analyzer/AnalyzerTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 91980b5

Please sign in to comment.