From 5037a49faa01794885febc006197809540db0f45 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:52:38 -0400 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 2639d29d..56323c62 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -311,7 +311,7 @@ async function reporterRuntime(token: string) { await page.evaluateOnNewDocument(` if (location.host.endsWith("discord.com")) { - ${readFileSync("./dist/browser.js", "utf-8")}; + ${readFileSync("./dist/browser/browser.js", "utf-8")}; (${reporterRuntime.toString()})(${JSON.stringify(process.env.DISCORD_TOKEN)}); } `);