Skip to content

Commit 5e12a1a

Browse files
committed
Revert "Pass ExclusionFilters to ReplaceEmbeddedByPhysical for letting developers define which files should be included or excluded"
This reverts commit 6c41530.
1 parent 6c41530 commit 5e12a1a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ private static IFileProvider CreateFileProvider(
6464

6565
public static void ReplaceEmbeddedByPhysical<T>(
6666
[NotNull] this VirtualFileSetList fileSets,
67-
[NotNull] string physicalPath,
68-
ExclusionFilters exclusionFilters = ExclusionFilters.Sensitive)
67+
[NotNull] string physicalPath)
6968
{
7069
Check.NotNull(fileSets, nameof(fileSets));
7170
Check.NotNullOrWhiteSpace(physicalPath, nameof(physicalPath));
@@ -84,7 +83,7 @@ public static void ReplaceEmbeddedByPhysical<T>(
8483
thisPath = Path.Combine(thisPath, embeddedVirtualFileSet.BaseFolder!);
8584
}
8685

87-
fileSets[i] = new PhysicalVirtualFileSetInfo(new PhysicalFileProvider(thisPath, exclusionFilters), thisPath);
86+
fileSets[i] = new PhysicalVirtualFileSetInfo(new PhysicalFileProvider(thisPath), thisPath);
8887
}
8988
}
9089
}

0 commit comments

Comments
 (0)