Skip to content

Commit

Permalink
#676: Fixed issue with Cobertura files with empty class names
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Jun 3, 2024
1 parent 738a67e commit 3d72c5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ For further details take a look at LICENSE.txt.

CHANGELOG

5.3.6.0

* Fix: #676: Fixed issue with Cobertura files with empty class names

5.3.5.0

* New: #663: Improved support for Cobertura files generated by "Microsoft CodeCoverage"
Expand Down
2 changes: 1 addition & 1 deletion src/ReportGenerator.Core/Parser/ClassNameParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal static class ClassNameParser
/// <returns>The parser result.</returns>
public static ClassNameParserResult ParseClassName(string rawName, bool rawMode)
{
if (string.IsNullOrEmpty(rawName))
if (rawName == null)
{
throw new ArgumentNullException(nameof(rawName));
}
Expand Down

0 comments on commit 3d72c5b

Please sign in to comment.