Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed May 22, 2024
1 parent bcb1bc6 commit 021fc4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/unlighthouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export async function createUnlighthouse(userConfig: UserConfig, provider?: Prov
})
const cookies = await taskCtx.page.cookies()
logger.debug('Authentication completed', { cookies, localStorageData, sessionStorageData, indexedDb })
logger.debug('Authentication completed', { cookies, localStorageData, sessionStorageData })
// merge this into the config
// @ts-expect-error untyped
ctx.resolvedConfig.cookies = [...(ctx.resolvedConfig.cookies || []), ...cookies as any as ResolvedUserConfig['cookies']]
Expand Down

0 comments on commit 021fc4a

Please sign in to comment.