Fix reporter testing for extractAndLoadChunks
This commit is contained in:
		
							parent
							
								
									b47a5f569e
								
							
						
					
					
						commit
						66dbe7ef07
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -410,7 +410,7 @@ function runTime(token: string) { | ||||||
|                         const [code, matcher] = args; |                         const [code, matcher] = args; | ||||||
| 
 | 
 | ||||||
|                         const module = Vencord.Webpack.findModuleFactory(...code); |                         const module = Vencord.Webpack.findModuleFactory(...code); | ||||||
|                         if (module) result = module.toString().match(matcher); |                         if (module) result = module.toString().match(Vencord.Util.canonicalizeMatch(matcher)); | ||||||
|                     } else { |                     } else { | ||||||
|                         // @ts-ignore
 |                         // @ts-ignore
 | ||||||
|                         result = Vencord.Webpack[method](...args); |                         result = Vencord.Webpack[method](...args); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue