From 37514e0720967e1c632c5f69e00f939cd8639678 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 24 May 2024 00:14:07 -0300 Subject: [PATCH] mod -> module --- src/webpack/webpack.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/webpack.tsx b/src/webpack/webpack.tsx index 4412e4fd1..9eb10ca6f 100644 --- a/src/webpack/webpack.tsx +++ b/src/webpack/webpack.tsx @@ -171,7 +171,7 @@ export function find(filter: FilterFn, callback: (module: ModuleE throw new Error("Invalid callback. Expected a function got " + typeof callback); const [proxy, setInnerValue] = proxyInner(`Webpack find matched no module. Filter: ${printFilter(filter)}`, "Webpack find with proxy called on a primitive value. This can happen if you try to destructure a primitive in the top level definition of the find."); - waitFor(filter, mod => setInnerValue(callback(mod)), { isIndirect: true }); + waitFor(filter, module => setInnerValue(callback(module)), { isIndirect: true }); if (IS_DEV && !isIndirect) { webpackSearchHistory.push(["find", [proxy, filter]]);