diff options
author | Ven <vendicated@riseup.net> | 2022-10-30 20:45:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 20:45:18 +0100 |
commit | 8adf7ca155a7f2b9d59ecfcc98ca47d123a26f59 (patch) | |
tree | 8397630ff18f8fa8952396334b3e4c003786cd07 /src/webpack/patchWebpack.ts | |
parent | b905743077f5ffdd09c8ff3464ac19f770ae875f (diff) | |
download | Vencord-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.ts | 2 |
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]); |