chore: fix lint extra parens in new epic claimer
This commit is contained in:
parent
1c34648112
commit
f5e404329f
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ const ensureLoggedIn = async (page, context) => {
|
||||||
const isChallenge = async () => {
|
const isChallenge = async () => {
|
||||||
const cfFrame = page.locator('iframe[title*="Cloudflare"], iframe[src*="challenges"]');
|
const cfFrame = page.locator('iframe[title*="Cloudflare"], iframe[src*="challenges"]');
|
||||||
const cfText = page.locator('text=Verify you are human');
|
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()) {
|
while (!await isLoggedIn()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue