aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/patchWebpack.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-10-30 20:45:18 +0100
committerGitHub <noreply@github.com>2022-10-30 20:45:18 +0100
commit8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59 (patch)
tree8397630ff18f8fa8952396334b3e4c003786cd07 /src/webpack/patchWebpack.ts
parentb905743077f5ffdd09c8ff3464ac19f770ae875f (diff)
downloadVencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.tar.gz
Vencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.tar.bz2
Vencord-8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59.zip
Webpack Warnings & Errors (#178)
* dev: Useful strict Warnings & Errors * Always log error * Ignore pending patches with all or whose predicate = false * Error -> Warn
Diffstat (limited to 'src/webpack/patchWebpack.ts')
-rw-r--r--src/webpack/patchWebpack.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts
index 5596730..b3cfd70 100644
--- a/src/webpack/patchWebpack.ts
+++ b/src/webpack/patchWebpack.ts
@@ -102,7 +102,7 @@ function patchPush() {
callback(exports.default);
}
- for (const nested in exports) if (nested.length < 3) {
+ for (const nested in exports) if (nested.length <= 3) {
if (exports[nested] && filter(exports[nested])) {
subscriptions.delete(filter);
callback(exports[nested]);