diff --git a/apps/meteor/packages/rocketchat-coverage/plugin/compile-version.js b/apps/meteor/packages/rocketchat-coverage/plugin/compile-version.js index af0e71823a76..869fbcbf15d3 100644 --- a/apps/meteor/packages/rocketchat-coverage/plugin/compile-version.js +++ b/apps/meteor/packages/rocketchat-coverage/plugin/compile-version.js @@ -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'); @@ -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__']);