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 1d993d7 commit 962d640Copy full SHA for 962d640
src/lib/decuplicate.ts
@@ -36,5 +36,5 @@ export function deduplicate_entries(entries: Coverage[]): Coverage[] {
36
}
37
38
39
- return Array.from(checked_stylesheets, ([text, { url, ranges }]) => ({ text, url, ranges }))
+ return Array.from(checked_stylesheets, ([text, { url, ranges }]) => ({ text, url, ranges: ranges.sort((a, b) => a.start - b.start) }))
40
0 commit comments