File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
plugins/node/opentelemetry-instrumentation-mysql2/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ export class MySQL2Instrumentation extends InstrumentationBase<MySQL2Instrumenta
5555 'mysql2' ,
5656 [ '>=1.4.2 <4' ] ,
5757 ( moduleExports : any ) => {
58- const ConnectionPrototype = this . _getConnectionPrototype ( moduleExports ) ;
58+ const ConnectionPrototype =
59+ this . _getConnectionPrototype ( moduleExports ) ;
5960
6061 if ( isWrapped ( ConnectionPrototype . query ) ) {
6162 this . _unwrap ( ConnectionPrototype , 'query' ) ;
@@ -79,7 +80,8 @@ export class MySQL2Instrumentation extends InstrumentationBase<MySQL2Instrumenta
7980 } ,
8081 ( moduleExports : any ) => {
8182 if ( moduleExports === undefined ) return ;
82- const ConnectionPrototype = this . _getConnectionPrototype ( moduleExports ) ;
83+ const ConnectionPrototype =
84+ this . _getConnectionPrototype ( moduleExports ) ;
8385 this . _unwrap ( ConnectionPrototype , 'query' ) ;
8486 this . _unwrap ( ConnectionPrototype , 'execute' ) ;
8587 }
You can’t perform that action at this time.
0 commit comments