We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328afb4 commit 47bb65dCopy full SHA for 47bb65d
src/lib/index.ts
@@ -80,7 +80,7 @@ function calculate_stylesheet_coverage({ text, url, ranges }: Coverage) {
80
81
let prev_is_covered = index > 0 && line_coverage[index - 1] === 1
82
83
- if (is_in_range && !is_closing_brace && !is_empty) {
+ if (is_in_range) {
84
is_covered = true
85
} else if ((is_empty || is_closing_brace) && prev_is_covered) {
86
0 commit comments