From cc7c14ec88d04f4bb91aa53d7d12e49c48078c9b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 11 Nov 2022 19:01:01 +0100 Subject: [PATCH] Reporting: do not error for patches with all:true --- test/generateReport.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/generateReport.ts b/test/generateReport.ts index 7de60045..57d4f96e 100644 --- a/test/generateReport.ts +++ b/test/generateReport.ts @@ -252,7 +252,9 @@ function runTime(token: string) { console.error("[PUP_DEBUG]", "Finished loading chunks!"); for (const patch of Vencord.Plugins.patches) { - new Vencord.Util.Logger("WebpackInterceptor").warn(`Patch by ${patch.plugin} found no module (Module id is -): ${patch.find}`); + if (!patch.all) { + new Vencord.Util.Logger("WebpackInterceptor").warn(`Patch by ${patch.plugin} found no module (Module id is -): ${patch.find}`); + } } setTimeout(() => console.log("PUPPETEER_TEST_DONE_SIGNAL"), 1000); }, 1000));