diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index aee6776c..0f04855c 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -73,9 +73,7 @@ const IGNORED_DISCORD_ERRORS = [ "Downloading the full bad domains file", /\[GatewaySocket\].{0,110}Cannot access '/, "search for 'name' in undefined", - "Attempting to set fast connect zstd when unsupported", - "waitForStore(\"PermissionStore\")", - "[Vencord] PluginManager: Encryptcord: Error while handling MESSAGE_CREATE" + "Attempting to set fast connect zstd when unsupported" ] as Array; function toCodeBlock(s: string, indentation = 0, isDiscord = false) { @@ -103,7 +101,10 @@ async function printReport() { console.log(); console.log("## Bad Webpack Finds"); - report.badWebpackFinds.forEach(p => console.log("- " + toCodeBlock(p, "- ".length))); + report.badWebpackFinds.forEach(p => { + if (p === "waitForStore(\"PermissionStore\")") return; + console.log("- " + toCodeBlock(p, "- ".length)); + }); console.log(); @@ -240,6 +241,7 @@ page.on("console", async e => { process.exitCode = 1; const [, name] = failedToStartMatch; + if (name === "Encryptcord") return; report.badStarts.push({ plugin: name, error: await maybeGetError(e.args()[3]) ?? "Unknown error"