Skip to content

Commit 2b84f42

Browse files
committed
chore: lint fixes
1 parent a760378 commit 2b84f42

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
@@ -30,7 +30,8 @@ import { addSqlCommenterComment } from '@opentelemetry/sql-common';
3030
import type * as mysqlTypes from 'mysql2';
3131
import { MySQL2InstrumentationConfig } from './types';
3232
import {
33-
getConnectionAttributes, getConnectionPrototypeToInstrument,
33+
getConnectionAttributes,
34+
getConnectionPrototypeToInstrument,
3435
getDbStatement,
3536
getSpanName,
3637
once,
@@ -55,7 +56,8 @@ export class MySQL2Instrumentation extends InstrumentationBase<MySQL2Instrumenta
5556
'mysql2',
5657
['>=1.4.2 <4'],
5758
(moduleExports: any) => {
58-
const ConnectionPrototype: mysqlTypes.Connection = getConnectionPrototypeToInstrument(moduleExports.Connection);
59+
const ConnectionPrototype: mysqlTypes.Connection =
60+
getConnectionPrototypeToInstrument(moduleExports.Connection);
5961
if (isWrapped(ConnectionPrototype.query)) {
6062
this._unwrap(ConnectionPrototype, 'query');
6163
}

0 commit comments

Comments
 (0)