Skip to content

Commit

Permalink
fix: apparent typo SUPPORTER_PLATFORMS (#8294)
Browse files Browse the repository at this point in the history
"Supporter" is a word, but probably not the intended one.
  • Loading branch information
foolip committed May 2, 2022
1 parent f39eb70 commit e09287f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/check_availability.js
Expand Up @@ -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 })
);

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e09287f

Please sign in to comment.