mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 10:27:03 -04:00
Unindent, plugins is now an object instead of []
This commit is contained in:
parent
b2f762fda8
commit
7ce37f858c
8 changed files with 65 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue