fix reporter false positive this time for real

This commit is contained in:
Vendicated 2025-02-17 01:48:04 +01:00
parent 6bdd60fe8a
commit 1a0a70eb24
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -78,9 +78,9 @@ async function runReporter() {
result = await Webpack.extractAndLoadChunks(code, matcher);
if (result === false) result = null;
} else if (method === "mapMangledModule") {
const [code, mapper] = args;
const [code, mapper, includeBlacklistedExports] = args;
result = Webpack.mapMangledModule(code, mapper);
result = Webpack.mapMangledModule(code, mapper, includeBlacklistedExports);
if (Object.keys(result).length !== Object.keys(mapper).length) throw new Error("Webpack Find Fail");
} else {
// @ts-ignore