Skip to content

Commit 00b2c7f

Browse files
committed
Fix undefined variable reference in coverage script
1 parent 0650363 commit 00b2c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cover.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ try {
103103
} else {
104104
printError('Coverage failed')
105105
// Show relevant output on failure for debugging
106-
if (!testSummaryMatch && !coverageMatch) {
106+
if (!testSummaryMatch && !coverageHeaderMatch) {
107107
console.log('\n--- Output ---')
108108
console.log(output)
109109
}

0 commit comments

Comments
 (0)