File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ function Render-SourcefileRow {
2020 $name = Split-Path - Path $object .' @name' - Leaf
2121 $result = $result.Replace (' <!--page.location-->' , $pageLocation )
2222 $result = $result.Replace (' <!--item.name-->' , $name )
23- $result = $result.Replace (' <!--classes.count-->' , $object .' class' .Count)
24- $result = $result.Replace (' <!--sourcefiles.count-->' , $object.sourcefile.Count )
2523
2624 $result = Render- CounterRowData - template $result - counters $object.counter - counterType ' INSTRUCTION' - placeholder ' <!--counter.instructions-->'
2725 $result = Render- CounterRowData - template $result - counters $object.counter - counterType ' BRANCH' - placeholder ' <!--counter.branches-->'
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ Describe 'Render-SourcefileRow' {
99 $template = @'
1010<!--page.location-->
1111<!--item.name-->
12- <!--classes.count-->
13- <!--sourcefiles.count-->
1412<!--counter.instructions-->
1513<!--counter.branches-->
1614<!--counter.lines-->
@@ -23,8 +21,6 @@ something
2321 $expected = @'
2422../../../sources/directory\sample.ps1.html
2523sample.ps1
26- 2
27- 4
28241 - 66 - 67 - 98.51%
2925
30261 - 53 - 54 - 98.15%
You can’t perform that action at this time.
0 commit comments