chore: fix lint extra parens in new epic claimer
All checks were successful
build-and-push / lint (push) Successful in 5s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m13s

This commit is contained in:
nocci 2025-12-31 13:21:51 +00:00
parent 1c34648112
commit f5e404329f

View file

@ -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()) {