Fix errors in 'build' script directory (#20004)

* Update build scripts

* Update build files

* fix build errors
This commit is contained in:
Karl Burtram
2022-07-11 23:23:24 -07:00
committed by GitHub
parent 980a233aad
commit 6eda44f828
17 changed files with 193 additions and 150 deletions

View File

@@ -5,7 +5,7 @@
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
const retry_1 = require("./retry");
const { installBrowsersWithProgressBar } = require('playwright/lib/install/installer');
const { installDefaultBrowsersForNpmInstall } = require('playwright/lib/utils/registry');
async function install() {
await (0, retry_1.retry)(() => installDefaultBrowsersForNpmInstall());
}

View File

@@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import { retry } from './retry';
const { installBrowsersWithProgressBar } = require('playwright/lib/install/installer');
const { installDefaultBrowsersForNpmInstall } = require('playwright/lib/utils/registry');
async function install() {
await retry(() => installDefaultBrowsersForNpmInstall());

View File

@@ -1,6 +1,6 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });