mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore: fix installation scripts (#13376)
This commit is contained in:
parent
bde7bf4ea9
commit
90d5990e75
@ -17,7 +17,7 @@
|
||||
let install;
|
||||
|
||||
try {
|
||||
install = require('playwright-core/lib/server').registry.installBrowsersForNpmInstall;
|
||||
install = require('playwright-core/lib/server').installBrowsersForNpmInstall;
|
||||
} catch (e) {
|
||||
// Dev build, don't install browsers by default.
|
||||
}
|
||||
|
@ -15,7 +15,13 @@
|
||||
*/
|
||||
|
||||
export type { Executable } from './registry';
|
||||
export { registry, writeDockerVersion, Registry, registryDirectory } from './registry';
|
||||
export {
|
||||
registry,
|
||||
registryDirectory,
|
||||
Registry,
|
||||
installDefaultBrowsersForNpmInstall,
|
||||
installBrowsersForNpmInstall,
|
||||
writeDockerVersion } from './registry';
|
||||
|
||||
export { DispatcherConnection, Root } from './dispatchers/dispatcher';
|
||||
export { PlaywrightDispatcher } from './dispatchers/playwrightDispatcher';
|
||||
|
@ -17,7 +17,7 @@
|
||||
let install;
|
||||
|
||||
try {
|
||||
install = require('playwright-core/lib/server').registry.installBrowsersForNpmInstall;
|
||||
install = require('playwright-core/lib/server').installBrowsersForNpmInstall;
|
||||
} catch (e) {
|
||||
// Dev build, don't install browsers by default.
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
let install;
|
||||
|
||||
try {
|
||||
install = require('playwright-core/lib/server').registry.installBrowsersForNpmInstall;
|
||||
install = require('playwright-core/lib/server').installBrowsersForNpmInstall;
|
||||
} catch (e) {
|
||||
// Dev build, don't install browsers by default.
|
||||
}
|
||||
|
@ -17,7 +17,7 @@
|
||||
let install;
|
||||
|
||||
try {
|
||||
install = require('playwright-core/lib/server').registry.installDefaultBrowsersForNpmInstall;
|
||||
install = require('playwright-core/lib/server').installDefaultBrowsersForNpmInstall;
|
||||
} catch (e) {
|
||||
// Dev build, don't install browsers by default.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user