Skip to content

Commit

Permalink
#602: HtmlSummary and Html_BlueRed_Summary report types now also crea…
Browse files Browse the repository at this point in the history
…te an index.html file
  • Loading branch information
danielpalme committed Jun 27, 2024
1 parent 2ddf1ee commit 6c69000
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ CHANGELOG

* Fix: Exclude empty modules/assemblies from reports
* Fix: Fix sort direction triangles (contributed by @YuriyDurov)
* Fix: #602: HtmlSummary and Html_BlueRed_Summary report types now also create an index.html file

5.3.6.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ public override void CreateSummaryReport(SummaryResult summaryResult)
sourcePath,
Path.Combine(targetDirectory, "summary.htm"),
true);

string targetFile = Path.Combine(targetDirectory, "index.html");

if (!File.Exists(targetFile))
{
File.Copy(
sourcePath,
targetFile,
true);
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ public override void CreateSummaryReport(SummaryResult summaryResult)
sourcePath,
Path.Combine(targetDirectory, "summary.htm"),
true);

string targetFile = Path.Combine(targetDirectory, "index.html");

if (!File.Exists(targetFile))
{
File.Copy(
sourcePath,
targetFile,
true);
}
}
}
}
Expand Down

0 comments on commit 6c69000

Please sign in to comment.