mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-07-10 06:51:52 +08:00
fix wrong call way for mainFlowWillLaunch hook
This commit is contained in:
@@ -1282,7 +1282,7 @@ export async function mainLoop (hooks) {
|
||||
}
|
||||
await setDomainLocalStorage(browser, localStoragePageUrl, bossLocalStorage)
|
||||
await page.bringToFront()
|
||||
await hooks.mainFlowWillLaunch?.callAsync({
|
||||
await hooks.mainFlowWillLaunch?.promise({
|
||||
jobNotMatchStrategy,
|
||||
jobNotActiveStrategy,
|
||||
expectCityNotMatchStrategy,
|
||||
|
||||
Reference in New Issue
Block a user