Reporting: do not error for patches with all:true

This commit is contained in:
Vendicated 2022-11-11 19:01:01 +01:00
parent a86452e774
commit cc7c14ec88
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3

View file

@ -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));