Fix reporter testing for extractAndLoadChunks

This commit is contained in:
Nuckyz 2023-11-30 02:26:18 -03:00
parent b47a5f569e
commit 66dbe7ef07
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -410,7 +410,7 @@ function runTime(token: string) {
const [code, matcher] = args;
const module = Vencord.Webpack.findModuleFactory(...code);
if (module) result = module.toString().match(matcher);
if (module) result = module.toString().match(Vencord.Util.canonicalizeMatch(matcher));
} else {
// @ts-ignore
result = Vencord.Webpack[method](...args);