Skip to content

Commit

Permalink
Correct assumption about directory separators
Browse files Browse the repository at this point in the history
  • Loading branch information
mnadareski committed Mar 25, 2024
1 parent 650115f commit bbe4fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BinaryObjectScanner/Handler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static ConcurrentDictionary<string, ConcurrentQueue<string>> HandlePathCh
#endif

// Preprocess the list of files
files = files?.Select(f => f.Replace('\\', '/'))?.ToList();
files = files?.Select(f => f.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar))?.ToList();

// Iterate through all checks
#if NET20 || NET35
Expand Down

0 comments on commit bbe4fb6

Please sign in to comment.