fix(cli logs): now correctly stating when WSL is detected.
This commit is contained in:
parent
42a68434c0
commit
8d4519d615
@ -19,7 +19,7 @@ export const getEnvAwareBrowserInstance = async (
|
||||
if ((process.env.CI || options.forceNoSandbox) && !smartenv.isWsl) {
|
||||
chromeArgs = chromeArgs.concat(['--no-sandbox', '--disable-setuid-sandbox']);
|
||||
} else if (smartenv.isWsl) {
|
||||
console.log('Detected WSL. Using chromium.');
|
||||
console.log('Detected WSL.');
|
||||
chromeArgs = chromeArgs.concat(['--no-sandbox', '--single-process']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user