From 7fe1b2dbd40f0cdac4ec28ff3bad64fdb8edd608 Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:30:50 -0400 Subject: [PATCH] fix after refactor && im stupid --- src/debug/runReporter.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/debug/runReporter.ts b/src/debug/runReporter.ts index 5c135bf50..8a3a3c3d3 100644 --- a/src/debug/runReporter.ts +++ b/src/debug/runReporter.ts @@ -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); } }