Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Dec 4, 2024
1 parent a760378 commit 2b84f42
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ import { addSqlCommenterComment } from '@opentelemetry/sql-common';
import type * as mysqlTypes from 'mysql2';
import { MySQL2InstrumentationConfig } from './types';
import {
getConnectionAttributes, getConnectionPrototypeToInstrument,
getConnectionAttributes,
getConnectionPrototypeToInstrument,
getDbStatement,
getSpanName,
once,
Expand All @@ -55,7 +56,8 @@ export class MySQL2Instrumentation extends InstrumentationBase<MySQL2Instrumenta
'mysql2',
['>=1.4.2 <4'],
(moduleExports: any) => {
const ConnectionPrototype: mysqlTypes.Connection = getConnectionPrototypeToInstrument(moduleExports.Connection);
const ConnectionPrototype: mysqlTypes.Connection =
getConnectionPrototypeToInstrument(moduleExports.Connection);
if (isWrapped(ConnectionPrototype.query)) {
this._unwrap(ConnectionPrototype, 'query');
}
Expand Down

0 comments on commit 2b84f42

Please sign in to comment.