From e09287f4e9a1ff3c637dd165d65f221394970e2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Mon, 2 May 2022 08:22:32 +0200 Subject: [PATCH] fix: apparent typo SUPPORTER_PLATFORMS (#8294) "Supporter" is a word, but probably not the intended one. --- utils/check_availability.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/check_availability.js b/utils/check_availability.js index 3241dd543c777..a57378af81e48 100755 --- a/utils/check_availability.js +++ b/utils/check_availability.js @@ -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