From f0e8b1e3ee0151f1d8a8cd32f468544b7cf5ab04 Mon Sep 17 00:00:00 2001 From: geekgeekrun Date: Wed, 2 Oct 2024 18:09:09 +0800 Subject: [PATCH] fix the issue while encounter `CANNOT_FIND_EXCEPT_JOB` error, the `afterPageLoad` label is not executed - replace `break` to `continue` --- packages/geek-auto-start-chat-with-boss/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index 6f6e8be..ec4ce5d 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -450,7 +450,7 @@ async function toRecommendPage (hooks) { currentExceptJobIndex += 1 } - break afterPageLoad; + continue afterPageLoad; } case 'STARTUP_CHAT_ERROR_DUE_TO_TODAY_CHANCE_HAS_USED_OUT': { let nextTrySeconds = 60 * 60