fix(core): update

This commit is contained in:
2019-11-15 23:41:39 +01:00
parent 0645364ca9
commit c9f42b4c66
6 changed files with 76 additions and 69 deletions

View File

@@ -32,7 +32,9 @@ export const getEnvAwareBrowserInstance = async (
});
} else {
console.log('Detected WSL. Using chromium.');
headlessBrowser = await plugins.puppeteer.launch({executablePath: '/usr/bin/chromium-browser'});
headlessBrowser = await plugins.puppeteer.launch({
executablePath: '/usr/bin/chromium-browser'
});
}
return headlessBrowser;