Skip to content

Commit

Permalink
fix(clover): always close last open tag
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
bradtaniguchi and bcoe committed Jul 25, 2023
1 parent eab82a9 commit 07c6ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/istanbul-reports/lib/clover/index.js
Expand Up @@ -113,7 +113,7 @@ class CloverReport extends ReportBase {
if (node.isRoot()) {
return;
}
this.xml.closeTag('package');
this.xml.closeTag(this.xml.stack[this.xml.stack.length - 1]);
}

onDetail(node) {
Expand Down

0 comments on commit 07c6ea6

Please sign in to comment.