Merge remote-tracking branch 'origin/dev' into kai/fix/980-ci-and-prepush

This commit is contained in:
Tam Nhu Tran committed 2026-04-13 12:12:18 -04:00
commit 4525df2c1b
5 files changed
+74 -13

No files matched your search

+1 -12
View File
@@ -49,18 +49,7 @@ export function resolveDefaultChromeUserDataDir(
}
export function resolveConfiguredBrowserProfileDir(profileDir?: string): string | undefined {
if (profileDir?.trim()) {
return expandPath(profileDir);
}
try {
const defaultUserDataDir = resolveDefaultChromeUserDataDir();
return fs.existsSync(path.join(defaultUserDataDir, DEVTOOLS_ACTIVE_PORT_FILE))
? defaultUserDataDir
: undefined;
} catch {
return undefined;
}
return profileDir?.trim() ? expandPath(profileDir) : undefined;
}
export async function resolveBrowserRuntimeEnv(