From 539b70cd52016276c599e9c03c26817b9b921fb6 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Mon, 27 May 2024 23:32:40 -0300 Subject: [PATCH] lmao oops --- src/webpack/webpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index d9301508d..bde269776 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -511,7 +511,7 @@ export function search(...filters: Array) { const factory = factories[id]; const factoryStr = String(factory); for (const filter of filters) { - if (typeof filter === "string" && !factoryStr.includes(factoryStr)) continue outer; + if (typeof filter === "string" && !factoryStr.includes(filter)) continue outer; if (filter instanceof RegExp && !filter.test(factoryStr)) continue outer; } results[id] = factory;