Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Sep 12, 2023
1 parent ae77ada commit f7ea49f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ if (!dir || !reporter) {
}

process.on('exit', async () => {
console.log('Coverage plugin exited');

try {
if (!dir) {
throw new Error('No coverage dir');
Expand All @@ -31,6 +29,7 @@ process.on('exit', async () => {
if (!reporter) {
throw new Error('No coverage reporter');
}
console.log('Coverage plugin triggered');

const coverageMap = libCoverage.createCoverageMap(globalThis['__coverage__']);

Expand Down

0 comments on commit f7ea49f

Please sign in to comment.