mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-09 01:17:06 +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 setDomainLocalStorage(browser, localStoragePageUrl, bossLocalStorage)
|
||||||
await page.bringToFront()
|
await page.bringToFront()
|
||||||
await hooks.mainFlowWillLaunch?.callAsync({
|
await hooks.mainFlowWillLaunch?.promise({
|
||||||
jobNotMatchStrategy,
|
jobNotMatchStrategy,
|
||||||
jobNotActiveStrategy,
|
jobNotActiveStrategy,
|
||||||
expectCityNotMatchStrategy,
|
expectCityNotMatchStrategy,
|
||||||
|
|||||||
Reference in New Issue
Block a user