Correct assumption about directory separators

This commit is contained in:
Matt Nadareski
2024-03-25 16:16:55 -04:00
parent 650115f722
commit bbe4fb610c

View File

@@ -62,7 +62,7 @@ namespace BinaryObjectScanner
#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