Skip to content

Commit a9c4cf9

Browse files
committed
style: fix prettier formatting in check-coverage.mjs
1 parent 887161c commit a9c4cf9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/check-coverage.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ for (const [absPath, fileSummary] of Object.entries(summary)) {
6464
// Longest-prefix match: iterate from most specific to least specific.
6565
// DIRECTORY_THRESHOLDS is already ordered with nested paths before parents
6666
// for tui/hooks and tui/components, but we sort by length to be safe.
67-
const match = [...dirStats]
68-
.sort((a, b) => b.prefix.length - a.prefix.length)
69-
.find(d => rel.startsWith(d.prefix));
67+
const match = [...dirStats].sort((a, b) => b.prefix.length - a.prefix.length).find(d => rel.startsWith(d.prefix));
7068
if (!match) continue;
7169

7270
match.total += fileSummary.lines.total;

0 commit comments

Comments
 (0)