fix: apparent typo SUPPORTER_PLATFORMS (#8294)

"Supporter" is a word, but probably not the intended one.
This commit is contained in:
Philip Jägenstedt 2022-05-02 08:22:32 +02:00 committed by GitHub
parent f39eb70f2f
commit e09287f4e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,8 +21,8 @@ const https = require('https');
const BrowserFetcher =
require('../lib/cjs/puppeteer/node/BrowserFetcher.js').BrowserFetcher;
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
const fetchers = SUPPORTER_PLATFORMS.map(
const SUPPORTED_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
const fetchers = SUPPORTED_PLATFORMS.map(
(platform) => new BrowserFetcher('', { platform })
);
@ -192,7 +192,7 @@ async function checkRangeAvailability({
stopWhenAllAvailable,
}) {
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 revisionToStop = toRevision + inc; // +inc so the range is fully inclusive