From 0c6445b66b004e5490eae6227c8349d7381d44d5 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 25 Oct 2023 21:06:18 +0200 Subject: [PATCH] fix reporter --- scripts/generateReport.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 18021212..c94adf9b 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -268,7 +268,7 @@ function runTime(token: string) { const { wreq } = Vencord.Webpack; console.error("[PUP_DEBUG]", "Loading all chunks..."); - const ids = Function("return" + wreq.u.toString().match(/\{.+\}/s)![0])(); + const ids = Function("return" + wreq.u.toString().match(/(?<=\()\{.+?\}/s)![0])(); for (const id in ids) { const isWasm = await fetch(wreq.p + wreq.u(id)) .then(r => r.text())