mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix
This commit is contained in:
parent
eff33e06bd
commit
69e3005e7a
1 changed files with 6 additions and 4 deletions
|
@ -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<string | RegExp>;
|
||||
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue