fix: no-sandbox flag logic to only disable sandbox when explicitly passed (#709)
This commit is contained in:
parent
9f8441daa5
commit
29ac29e6bb
2 changed files with 18 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue