mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-25 12:16:44 +03:00
chore: fixes to helper scripts
This commit is contained in:
parent
51f714f235
commit
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user