Make test runnable on windows in debug config again (#43227)

tfw ur fs isn't posix compliant
This commit is contained in:
Centronias
2026-06-29 12:44:04 +02:00
committed by Coryler
parent 36c7e7b194
commit 0e884decd5
@@ -39,7 +39,7 @@ public static partial class GameDataScrounger
return Directory.EnumerateFiles(path,
pattern ?? "*",
recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly)
.Select(x => new ResPath(x.Remove(0, resBasePath.Length)))
.Select(x => ResPath.FromRelativeSystemPath(x.Remove(0, resBasePath.Length)))
.ToArray();
}