1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-25 00:36:23 +00:00
This commit is contained in:
Nuckyz 2024-05-07 02:38:12 -03:00
parent 5b6d0f42fd
commit d97596a16a
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -534,9 +534,9 @@ async function runtime(token: string) {
searchType === "webpackDependantLazy" ||
searchType === "webpackDependantLazyComponent")
) {
logMessage += `(${args[0].toString().slice(0, 147)}...)`;
logMessage += `(${parsedArgs[0].toString().slice(0, 147)}...)`;
} else if (searchType === "extractAndLoadChunks") {
logMessage += `([${args[0].map((arg: any) => `"${arg}"`).join(", ")}], ${args[1].toString()})`;
logMessage += `([${parsedArgs[0].map((arg: any) => `"${arg}"`).join(", ")}], ${parsedArgs[1].toString()})`;
} else {
logMessage += `(${filterName.length ? `${filterName}(` : ""}${parsedArgs.map(arg => `"${arg}"`).join(", ")})${filterName.length ? ")" : ""}`;
}