Skip to content

Commit 58e6208

Browse files
committed
fix(coverage): Incorrect URL creation for Entity files
closes #1531
1 parent 3114621 commit 58e6208

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/templates/partials/coverage-report.hbs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
<a href="./{{linktype}}/{{linksubtype}}s.html#{{name}}">{{filePath}}</a>
2828
{{/ifEqualString}}
2929
{{else}}
30-
<a href="./{{linktype}}s/{{name}}.html">{{filePath}}</a>
30+
{{#ifEqualString linktype 'entity'}}
31+
<a href="./entities/{{name}}.html">{{filePath}}</a>
32+
{{else}}
33+
<a href="./{{linktype}}s/{{name}}.html">{{filePath}}</a>
34+
{{/ifEqualString}}
3135
{{/if}}
3236
</td>
3337
<td>{{type}}</td>

0 commit comments

Comments
 (0)