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…
Reference in a new issue