mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 23:03:09 +00:00
style: apply oxfmt baseline formatting across all source files (#25)
## Summary - Run `oxfmt .` across the entire codebase to establish formatted baseline - 299 files changed — mechanical formatting only, no logic changes - Double quotes, semicolons, 2-space indent, trailing commas, 100 print width Part 3/4 of [VA-851](https://linear.app/heygen/issue/VA-851/pre-migration-configure-eslint-prettier-and-conventional-commits) ## Test plan - [x] `pnpm format:check` — all 426 files pass - [x] `pnpm -r typecheck` — all packages pass - [x] `pnpm build` — all packages build - [x] All 348 tests pass
This commit is contained in:
@@ -40,7 +40,9 @@ export interface AcquiredBrowser {
|
||||
* Checks config.chromePath, then PRODUCER_HEADLESS_SHELL_PATH env var,
|
||||
* then scans Puppeteer's managed cache at ~/.cache/puppeteer/chrome-headless-shell/.
|
||||
*/
|
||||
export function resolveHeadlessShellPath(config?: Partial<Pick<EngineConfig, "chromePath">>): string | undefined {
|
||||
export function resolveHeadlessShellPath(
|
||||
config?: Partial<Pick<EngineConfig, "chromePath">>,
|
||||
): string | undefined {
|
||||
if (config?.chromePath) {
|
||||
return config.chromePath;
|
||||
}
|
||||
@@ -78,7 +80,10 @@ export const ENABLE_BROWSER_POOL = DEFAULT_CONFIG.enableBrowserPool;
|
||||
export async function acquireBrowser(
|
||||
chromeArgs: string[],
|
||||
config?: Partial<
|
||||
Pick<EngineConfig, "browserTimeout" | "protocolTimeout" | "enableBrowserPool" | "chromePath" | "forceScreenshot">
|
||||
Pick<
|
||||
EngineConfig,
|
||||
"browserTimeout" | "protocolTimeout" | "enableBrowserPool" | "chromePath" | "forceScreenshot"
|
||||
>
|
||||
>,
|
||||
): Promise<AcquiredBrowser> {
|
||||
const enablePool = config?.enableBrowserPool ?? DEFAULT_CONFIG.enableBrowserPool;
|
||||
|
||||
Reference in New Issue
Block a user