diff --git a/package-lock.json b/package-lock.json index 679acb5..9fcd560 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@drill4j/browser-extension", - "version": "0.3.39", + "version": "0.3.40", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 1c94c84..92b146a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@drill4j/browser-extension", - "version": "0.3.39", + "version": "0.3.40", "license": "Apache-2.0", "scripts": { "build": "set NODE_ENV=development&& webpack", diff --git a/src/background/index.ts b/src/background/index.ts index 8380c50..926ae0b 100644 --- a/src/background/index.ts +++ b/src/background/index.ts @@ -419,7 +419,7 @@ async function sgAdaptersReducer(list: any, agentsHosts: Record) }; } - if (x.agentType.toLowerCase() === AgentType.JAVA_SCRIPT) { + if (x.agentType.toLowerCase() === AgentType.JAVA_SCRIPT && x.agentStatus === 'REGISTERED') { // eslint-disable-next-line no-param-reassign a[x.groupId].mustRecordJsCoverage = true; } diff --git a/src/manifest.json b/src/manifest.json index 08ba2cc..5d8a6fd 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { "name": "Drill4J Browser Extension", - "version": "0.3.39", + "version": "0.3.40", "background": { "page": "background.html", "persistent": true