Skip to content

Commit e157a0d

Browse files
committed
chore: fix lint
1 parent 0b88ab1 commit e157a0d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

plugins/node/instrumentation-mongoose/src/mongoose.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,7 @@ export class MongooseInstrumentation extends InstrumentationBase<MongooseInstrum
106106
return module;
107107
}
108108

109-
private patch(
110-
module: any,
111-
moduleVersion: string | undefined
112-
) {
109+
private patch(module: any, moduleVersion: string | undefined) {
113110
const moduleExports: typeof mongoose =
114111
module[Symbol.toStringTag] === 'Module'
115112
? module.default // ESM
@@ -159,10 +156,7 @@ export class MongooseInstrumentation extends InstrumentationBase<MongooseInstrum
159156
return moduleExports;
160157
}
161158

162-
private unpatch(
163-
module: any,
164-
moduleVersion: string | undefined
165-
): void {
159+
private unpatch(module: any, moduleVersion: string | undefined): void {
166160
const moduleExports: typeof mongoose =
167161
module[Symbol.toStringTag] === 'Module'
168162
? module.default // ESM

0 commit comments

Comments
 (0)