diff options
author | Vendicated <vendicated@riseup.net> | 2022-08-31 23:04:18 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-08-31 23:04:18 +0200 |
commit | 7ce37f858c0a1e09e1f6497fbd32b172cc9b3c6c (patch) | |
tree | 2a9add59fcced15e1760f752bb10040e229f84fd /src/utils/patchWebpack.ts | |
parent | b2f762fda8ec93feab123891e7c01efda00388c8 (diff) | |
download | Vencord-7ce37f858c0a1e09e1f6497fbd32b172cc9b3c6c.tar.gz Vencord-7ce37f858c0a1e09e1f6497fbd32b172cc9b3c6c.tar.bz2 Vencord-7ce37f858c0a1e09e1f6497fbd32b172cc9b3c6c.zip |
Unindent, plugins is now an object instead of []
Diffstat (limited to 'src/utils/patchWebpack.ts')
-rw-r--r-- | src/utils/patchWebpack.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/patchWebpack.ts b/src/utils/patchWebpack.ts index 9f4b435..dffce86 100644 --- a/src/utils/patchWebpack.ts +++ b/src/utils/patchWebpack.ts @@ -85,6 +85,7 @@ function patchPush() { const newCode = code.replace(replacement.match, replacement.replace); if (newCode === code) { logger.warn(`Patch by ${patch.plugin} had no effect: ${replacement.match}`); + logger.debug("Function Source:\n", code); } else { const newMod = (0, eval)(`// Webpack Module ${id} - Patched by ${[...patchedBy].join(", ")}\n${newCode}\n//# sourceURL=WebpackModule${id}`); code = newCode; |