- Fixed find files in package using the wrong ContentPackage property.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user