File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ if (isNodeJsTooOld()) {
3333 // @ts -ignore TS1108 (return can only be used within a function body)
3434 return ;
3535}
36+
3637let isMainThread = true ;
3738try {
3839 isMainThread = require ( 'worker_threads' ) . isMainThread ;
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ module.exports = exports = function isExcludedFromInstrumentation() {
7171 // eslint-disable-next-line no-console
7272 console . log (
7373 `[Instana] INFO: Not instrumenting process ${ process . pid } : ${ process . argv [ 0 ] } ${ mainModule } ` +
74- // eslint-disable-next-line max-len
7574 ' - this Node.js process seems to be npm or yarn. A child process started via "npm start" or "yarn start" ' +
7675 '_will_ be instrumented, but not npm or yarn itself.'
7776 ) ;
You can’t perform that action at this time.
0 commit comments