Skip to content

Commit

Permalink
Merge branch 'dev' into modules-proxy-patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed May 20, 2024
2 parents 2a77941 + 0a59512 commit dbb6f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webpack/patchWebpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Object.defineProperty(Function.prototype, "m", {
// When using react devtools or other extensions, we may also catch their webpack here.
// This ensures we actually got the right one
const { stack } = new Error();
if (stack?.includes("discord.com") || stack?.includes("discordapp.com")) {
if ((stack?.includes("discord.com") || stack?.includes("discordapp.com")) && !Array.isArray(v)) {

Check failure on line 110 in src/webpack/patchWebpack.ts

View workflow job for this annotation

GitHub Actions / test

Cannot find name 'v'.

Check failure on line 110 in src/webpack/patchWebpack.ts

View workflow job for this annotation

GitHub Actions / test

Cannot find name 'v'.
logger.info("Found Webpack module factory", stack.match(/\/assets\/(.+?\.js)/)?.[1] ?? "");

// The new object which will contain the factories
Expand Down

0 comments on commit dbb6f41

Please sign in to comment.