chore: roll pw to latest (#1338)

This commit is contained in:
Pavel Feldman
2026-01-25 11:00:23 -08:00
committed by GitHub
parent 00b9c54515
commit 5b497bcca8
4 changed files with 20 additions and 18 deletions

View File

@@ -35,8 +35,8 @@
},
"dependencies": {
"minimist": "^1.2.5",
"playwright": "1.59.0-alpha-1769217009000",
"playwright-core": "1.59.0-alpha-1769217009000"
"playwright": "1.59.0-alpha-1769364499000",
"playwright-core": "1.59.0-alpha-1769364499000"
},
"bin": {
"mcp": "cli.js",

View File

@@ -128,7 +128,9 @@ async function updateTools(content) {
*/
async function updateOptions(content) {
console.log('Listing options...');
const output = execSync('node cli.js --help');
execSync('node cli.js --help > help.txt');
const output = fs.readFileSync('help.txt');
fs.unlinkSync('help.txt');
const lines = output.toString().split('\n');
const firstLine = lines.findIndex(line => line.includes('--version'));
lines.splice(0, firstLine + 1);