Revert "Updated for consistant delimiter presence with source"

This reverts commit ce118096b7.
This commit is contained in:
Sean Long
2020-04-18 12:54:12 -04:00
parent ce118096b7
commit c07ebdd41b
7 changed files with 13 additions and 17 deletions

View File

@ -103,8 +103,7 @@ namespace Oqtane.Infrastructure
case ".svg":
case ".js":
case ".css":
string entryPath = Path.Combine(entry.FullName.Replace("wwwroot", name).Split("/"));
filename = Path.Combine(sourceFolder, entryPath);
filename = Path.Combine(sourceFolder, entry.FullName.Replace("wwwroot", name));
if (!Directory.Exists(Path.GetDirectoryName(filename)))
{
Directory.CreateDirectory(Path.GetDirectoryName(filename));