Commit 5eb0258
committed
test(coverage): c8-ignore unreachable recursive-prefix branch in pathRelativeToTarget
`recursiveTargetPrefix = \`${targetPrefix}**/\`` so any path matching
`startsWith(recursiveTargetPrefix)` ALSO matches the earlier
`startsWith(targetPrefix)` check on line 145 — the line-149 branch is
dead code. Added c8-ignore + explanation.1 parent 500b358 commit 5eb0258
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
0 commit comments