From f5e404329f2f43ccbdf615f98b88959831fa71cf Mon Sep 17 00:00:00 2001 From: nocci Date: Wed, 31 Dec 2025 13:21:51 +0000 Subject: [PATCH] chore: fix lint extra parens in new epic claimer --- epic-claimer-new.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-claimer-new.js b/epic-claimer-new.js index 290e66e..2fef517 100644 --- a/epic-claimer-new.js +++ b/epic-claimer-new.js @@ -151,7 +151,7 @@ const ensureLoggedIn = async (page, context) => { const isChallenge = async () => { const cfFrame = page.locator('iframe[title*="Cloudflare"], iframe[src*="challenges"]'); const cfText = page.locator('text=Verify you are human'); - return (await cfFrame.count()) > 0 || (await cfText.count()) > 0; + return await cfFrame.count() > 0 || await cfText.count() > 0; }; while (!await isLoggedIn()) {