mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix lint issues
This commit is contained in:
parent
ba7c367de3
commit
cf8c08d991
@ -105,8 +105,8 @@ class ChromeLauncher implements ProductLauncher {
|
||||
|
||||
let chromeExecutable = executablePath;
|
||||
if (!executablePath) {
|
||||
// Use Intel x86 builds on Apple M1 until native macOS arm64
|
||||
// Chromium builds are available.
|
||||
// Use Intel x86 builds on Apple M1 until native macOS arm64
|
||||
// Chromium builds are available.
|
||||
if (os.platform() !== 'darwin' && os.arch() === 'arm64') {
|
||||
chromeExecutable = '/usr/bin/chromium-browser';
|
||||
} else {
|
||||
|
@ -90,8 +90,8 @@ export async function downloadBrowser() {
|
||||
if (NPM_NO_PROXY) process.env.NO_PROXY = NPM_NO_PROXY;
|
||||
|
||||
function onSuccess(localRevisions: string[]): void {
|
||||
// Use Intel x86 builds on Apple M1 until native macOS arm64
|
||||
// Chromium builds are available.
|
||||
// Use Intel x86 builds on Apple M1 until native macOS arm64
|
||||
// Chromium builds are available.
|
||||
if (os.platform() !== 'darwin' && os.arch() !== 'arm64') {
|
||||
logPolitely(
|
||||
`${supportedProducts[product]} (${revisionInfo.revision}) downloaded to ${revisionInfo.folderPath}`
|
||||
|
Loading…
Reference in New Issue
Block a user