Skip to content

Commit

Permalink
fix pack issue where items were being flattened
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Sep 14, 2021
1 parent c1a0597 commit db681cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ public void AddFiles(string basePath, string source, string destination, string
exclude = exclude?.Replace('\\', Path.DirectorySeparatorChar);

// Ensure that the 'source' path uses only the OS-specific directory separating character
List<PhysicalPackageFile> searchFiles = ResolveSearchPattern(basePath, source.Replace('\\', Path.DirectorySeparatorChar).Replace('/', Path.DirectorySeparatorChar), destination, _includeEmptyDirectories).ToList();
List<PhysicalPackageFile> searchFiles = ResolveSearchPattern(basePath, source.Replace('\\', Path.DirectorySeparatorChar), destination, _includeEmptyDirectories).ToList();

if (_includeEmptyDirectories)
{
Expand Down

0 comments on commit db681cf

Please sign in to comment.