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