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

tfw ur fs isn't posix compliant
This commit is contained in:
Centronias 2026-03-13 12:59:41 -07:00 committed by Coryler
parent 36c7e7b194
commit 0e884decd5
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}