diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-11 16:43:40 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-11 16:43:40 +0100 |
commit | 2133823bd369efa145474f6e558a82a960d48d52 (patch) | |
tree | 4bf70ebe3db18c7b0b7db70547c4dcbb32385b6a /src/webpack/patchWebpack.ts | |
parent | 1176896a1b7aa5615b4aae28cc885683f0dadd1a (diff) | |
download | Vencord-2133823bd369efa145474f6e558a82a960d48d52.tar.gz Vencord-2133823bd369efa145474f6e558a82a960d48d52.tar.bz2 Vencord-2133823bd369efa145474f6e558a82a960d48d52.zip |
more plugin fixes
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 f14ab0b..40a16a6 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -141,7 +141,7 @@ function patchPush() { try { const newCode = code.replace(replacement.match, replacement.replace); - if (newCode === code) { + if (newCode === code && !replacement.noWarn) { logger.warn(`Patch by ${patch.plugin} had no effect (Module id is ${id}): ${replacement.match}`); if (IS_DEV) { logger.debug("Function Source:\n", code); |