aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-11 19:01:01 +0100
committerVendicated <vendicated@riseup.net>2022-11-11 19:01:01 +0100
commitcc7c14ec88d04f4bb91aa53d7d12e49c48078c9b (patch)
tree6a627aced167114ce6688aa6d00d82d5043221d5
parenta86452e7747e5982d488a04071579b732ac4cb75 (diff)
downloadVencord-cc7c14ec88d04f4bb91aa53d7d12e49c48078c9b.tar.gz
Vencord-cc7c14ec88d04f4bb91aa53d7d12e49c48078c9b.tar.bz2
Vencord-cc7c14ec88d04f4bb91aa53d7d12e49c48078c9b.zip
Reporting: do not error for patches with all:true
-rw-r--r--test/generateReport.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/generateReport.ts b/test/generateReport.ts
index 7de6004..57d4f96 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));