From 8d4519d615c0120ff38f5e955ded1e19cf9c4a63 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 16 Nov 2019 17:51:11 +0100 Subject: [PATCH] fix(cli logs): now correctly stating when WSL is detected. --- ts/smartpuppeteer.classes.smartpuppeteer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartpuppeteer.classes.smartpuppeteer.ts b/ts/smartpuppeteer.classes.smartpuppeteer.ts index 2697b8a..ce9dff2 100644 --- a/ts/smartpuppeteer.classes.smartpuppeteer.ts +++ b/ts/smartpuppeteer.classes.smartpuppeteer.ts @@ -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']); }