Skip to content

Commit 9511ff3

Browse files
committed
Skip copying wwwroot for non-index merge.
1 parent 90e898a commit 9511ff3

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

converter/generator/Program.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ async static Task Main(string[] cmdArgs)
3131

3232
if (args.Merge)
3333
{
34-
CopyContents(Template.WebRootPath, outputPath);
35-
36-
if (!isBuildingIndex)
34+
if (isBuildingIndex)
35+
{
36+
CopyContents(Template.WebRootPath, outputPath);
37+
}
38+
else
3739
{
3840
outputPath = Path.Combine(outputPath, bookUrlName);
3941
}

0 commit comments

Comments
 (0)