Fix reporter testing for extractAndLoadChunks

main
Nuckyz 10 months ago
parent b47a5f569e
commit 66dbe7ef07
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -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…
Cancel
Save