From b8679b356c8747979a54cd08c443a7cfc72651e0 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 21 Aug 2024 05:11:28 +0530 Subject: [PATCH] fix: remove extra () --- maxun-core/src/interpret.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index e1dc5bbe..2f20bcc1 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -82,9 +82,9 @@ export default class Interpreter extends EventEmitter { }; } - PlaywrightBlocker.fromPrebuiltAdsAndTracking(fetch).then((blocker) => { + PlaywrightBlocker.fromPrebuiltAdsAndTracking(fetch).then(blocker => { this.blocker = blocker; - }).catch((err) => { + }).catch(err => { this.log(`Failed to initialize ad-blocker:`, Level.ERROR); }) }