fix after refactor && im stupid

This commit is contained in:
sadan 2024-08-20 16:30:50 -04:00
parent 813ed8af1b
commit 7fe1b2dbd4
No known key found for this signature in database

View file

@ -32,20 +32,20 @@ export const reporterData: ReporterData = {
erroredPatch: [] erroredPatch: []
}, },
failedWebpack: { failedWebpack: {
find: [[]], find: [],
findByProps: [[]], findByProps: [],
findByCode: [[]], findByCode: [],
findStore: [[]], findStore: [],
findComponent: [[]], findComponent: [],
findComponentByCode: [[]], findComponentByCode: [],
findExportedComponent: [[]], findExportedComponent: [],
waitFor: [[]], waitFor: [],
waitForComponent: [[]], waitForComponent: [],
waitForStore: [[]], waitForStore: [],
proxyLazyWebpack: [[]], proxyLazyWebpack: [],
LazyComponentWebpack: [[]], LazyComponentWebpack: [],
extractAndLoadChunks: [[]], extractAndLoadChunks: [],
mapMangledModule: [[]] mapMangledModule: []
} }
}; };
async function runReporter() { async function runReporter() {
@ -62,7 +62,7 @@ async function runReporter() {
if (!patch.all) { if (!patch.all) {
new Logger("WebpackInterceptor").warn(`Patch by ${patch.plugin} found no module (Module id is -): ${patch.find}`); new Logger("WebpackInterceptor").warn(`Patch by ${patch.plugin} found no module (Module id is -): ${patch.find}`);
if (IS_COMPANION_TEST) if (IS_COMPANION_TEST)
reporterData.failedPatches.foundNoModule[patch.plugin].push(String(patch.find)); reporterData.failedPatches.foundNoModule.push(patch);
} }
} }