chore: fixes to helper scripts
This commit is contained in:
Родитель
51f714f235
Коммит
f14e105051
|
@ -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"
|
||||
|
|
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче