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