chore: fixes to helper scripts

This commit is contained in:
Andrey Lushnikov 2021-11-17 17:02:29 -08:00
parent 51f714f235
commit f14e105051
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ mirror_chromium() {
CHROMIUM_URL=""
PLATFORM="$1"
if [[ -n "${PLATFORM}" ]]; then
if [[ -z "${PLATFORM}" ]]; then
CURRENT_HOST_OS="$(uname)"
if [[ "${CURRENT_HOST_OS}" == "Darwin" ]]; then
PLATFORM="--mac"

View File

@ -82,7 +82,7 @@ async function checkOmahaProxyAvailability() {
* @param {boolean} stopWhenAllAvailable
*/
async function checkRangeAvailability(fromRevision, toRevision, stopWhenAllAvailable) {
const table = new Table([15, 7, 7, 7, 7]);
const table = new Table([15, 7, 7, 7]);
table.drawRow([''].concat(SUPPORTER_PLATFORMS));
const inc = fromRevision < toRevision ? 1 : -1;
for (let revision = fromRevision; revision !== toRevision; revision += inc) {