- Fixed find files in package using the wrong ContentPackage property.

This commit is contained in:
MapleWheels
2026-01-26 16:47:01 -05:00
committed by Maplewheels
parent b36224f480
commit 440cbed76a

View File

@@ -267,8 +267,8 @@ public class StorageService : IStorageService
try
{
var fullPath = localSubfolder.IsNullOrWhiteSpace()
? Path.GetFullPath(package.Path)
: Path.GetFullPath(package.Path, localSubfolder);
? Path.GetFullPath(package.Dir)
: Path.GetFullPath(package.Dir, localSubfolder);
return System.IO.Directory.GetFiles(fullPath, regexFilter,
searchRecursively ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly)
.ToImmutableArray();