1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

Fix reporter testing for extractAndLoadChunks

This commit is contained in:
Nuckyz 2023-11-30 02:26:18 -03:00 committed by Luna
parent 7ce62712bd
commit 0830a55d9f

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);