File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
plugins/node/instrumentation-mongoose/src Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments