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:
parent
e94a1e87dc
commit
1ed38af79a
@ -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(
|
||||
|
@ -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',
|
Loading…
Reference in New Issue
Block a user