From dea34503ef61fe8f2600d2d9b0edb2eec90ebd1b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 8 Oct 2022 20:36:57 +0200 Subject: Add more eslint rules --- src/webpack/patchWebpack.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/webpack') diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index dd7b537..7f5dbf6 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -50,7 +50,7 @@ function patchPush() { if (mod === originalMod) throw err; logger.error("Error in patched chunk", err); - return originalMod(module, exports, require); + return void originalMod(module, exports, require); } // There are (at the time of writing) 11 modules exporting the window @@ -145,4 +145,3 @@ function patchPush() { configurable: true }); } - -- cgit