Skip to content

Commit 2267454

Browse files
committed
chore(instr-mysql2): fix lint issues
1 parent 5a51c55 commit 2267454

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugins/node/opentelemetry-instrumentation-mysql2/src/instrumentation.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)