Skip to content

Commit

Permalink
fix: 未使用await
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Jan 11, 2025
1 parent 2fdee4e commit 2505906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bypasscf.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ async function login(page, username, password, retryCount = 3) {
if (retryCount > 0) {
console.log("Retrying login...");
await delayClick(2000); // 增加重试前的延迟
return login(page, username, password, retryCount - 1);
return await login(page, username, password, retryCount - 1);
} else {
throw new Error(
`Navigation timed out in login.请检查用户名密码是否正确(注意密码中是否有特殊字符,需要外面加上双引号指明这是字符串,如果密码里面有双引号则需要转义)(注意GitHub action不需要增加处理,也不需要加引号),失败用户 ${username}, 密码 $错误信息:,
Expand Down

0 comments on commit 2505906

Please sign in to comment.