mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: apparent typo SUPPORTER_PLATFORMS (#8294)
"Supporter" is a word, but probably not the intended one.
This commit is contained in:
parent
f39eb70f2f
commit
e09287f4e9
@ -21,8 +21,8 @@ const https = require('https');
|
|||||||
const BrowserFetcher =
|
const BrowserFetcher =
|
||||||
require('../lib/cjs/puppeteer/node/BrowserFetcher.js').BrowserFetcher;
|
require('../lib/cjs/puppeteer/node/BrowserFetcher.js').BrowserFetcher;
|
||||||
|
|
||||||
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
|
const SUPPORTED_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
|
||||||
const fetchers = SUPPORTER_PLATFORMS.map(
|
const fetchers = SUPPORTED_PLATFORMS.map(
|
||||||
(platform) => new BrowserFetcher('', { platform })
|
(platform) => new BrowserFetcher('', { platform })
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ async function checkRangeAvailability({
|
|||||||
stopWhenAllAvailable,
|
stopWhenAllAvailable,
|
||||||
}) {
|
}) {
|
||||||
const table = new Table([10, 7, 7, 7, 7]);
|
const table = new Table([10, 7, 7, 7, 7]);
|
||||||
table.drawRow([''].concat(SUPPORTER_PLATFORMS));
|
table.drawRow([''].concat(SUPPORTED_PLATFORMS));
|
||||||
|
|
||||||
const inc = fromRevision < toRevision ? 1 : -1;
|
const inc = fromRevision < toRevision ? 1 : -1;
|
||||||
const revisionToStop = toRevision + inc; // +inc so the range is fully inclusive
|
const revisionToStop = toRevision + inc; // +inc so the range is fully inclusive
|
||||||
|
Loading…
Reference in New Issue
Block a user