fix: no-sandbox flag logic to only disable sandbox when explicitly passed (#709)

This commit is contained in:
Copilot
2025-07-18 13:56:01 -07:00
committed by GitHub
parent 9f8441daa5
commit 29ac29e6bb
2 changed files with 18 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ export function configFromCLIOptions(cliOptions: CLIOptions): Config {
};
// --no-sandbox was passed, disable the sandbox
if (!cliOptions.sandbox)
if (cliOptions.sandbox === false)
launchOptions.chromiumSandbox = false;
if (cliOptions.proxyServer) {