mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: allow CLI version override (#10814)
This commit is contained in:
parent
b5933db279
commit
43b7e6c26d
@ -37,7 +37,7 @@ import { GridServer, GridFactory } from '../grid/gridServer';
|
||||
const packageJSON = require('../../package.json');
|
||||
|
||||
program
|
||||
.version('Version ' + packageJSON.version)
|
||||
.version('Version ' + (process.env.PW_CLI_DISPLAY_VERSION || packageJSON.version))
|
||||
.name(buildBasePlaywrightCLICommand(process.env.PW_CLI_TARGET_LANG));
|
||||
|
||||
commandWithOpenOptions('open [url]', 'open page in browser specified via -b, --browser', [])
|
||||
|
Loading…
x
Reference in New Issue
Block a user