File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ export class ModuleRaid {
321321 }
322322
323323 modules . forEach ( ( key : string ) => {
324- const module = this . modules [ key ] . exports
324+ const module = this . modules [ key . toString ( ) ]
325325
326326 if ( module === undefined ) return
327327
@@ -418,9 +418,9 @@ export class ModuleRaid {
418418 query = query . toLowerCase ( )
419419
420420 if ( constructor . toString ( ) . toLowerCase ( ) . includes ( query ) )
421- results . push ( [ this . constructors [ key ] , this . modules [ key ] . exports ] )
421+ results . push ( [ this . constructors [ key ] , this . modules [ key ] ] )
422422 } else if ( typeof query === 'function' ) {
423- if ( query ( constructor ) ) results . push ( [ this . constructors [ key ] , this . modules [ key ] . exports ] )
423+ if ( query ( constructor ) ) results . push ( [ this . constructors [ key ] , this . modules [ key ] ] )
424424 }
425425 } catch ( err : any ) {
426426 this . log (
You can’t perform that action at this time.
0 commit comments