chore(node): move install.ts into node/ (#6490)

This file contains logic that is unique to the Node.js environment and therefore should be moved into the `node` sub-folder.
This commit is contained in:
Tim van der Lippe 2020-10-12 07:56:29 +01:00 committed by GitHub
parent e94a1e87dc
commit 1ed38af79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ async function download() {
const {
downloadBrowser,
logPolitely,
} = require('./lib/cjs/puppeteer/install');
} = require('./lib/cjs/puppeteer/node/install');
if (process.env.PUPPETEER_SKIP_DOWNLOAD) {
logPolitely(

View File

@ -17,8 +17,8 @@
import os from 'os';
import https from 'https';
import ProgressBar from 'progress';
import puppeteer from './index.js';
import { PUPPETEER_REVISIONS } from './revisions.js';
import puppeteer from '../index.js';
import { PUPPETEER_REVISIONS } from '../revisions.js';
const supportedProducts = {
chrome: 'Chromium',