Commit 040978c
fix(build): playwright extension parses the 1.58+ install --dry-run output
Playwright 1.58 changed the per-browser header printed by
`playwright install --dry-run` from `browser: <name> version <v>` to
`<Product> <v> (playwright <name> v<build>)`, so the extension's grep
found nothing and the image build failed at that step.
The header match now accepts both formats. The context window after the
header is also narrowed to the two lines the extension reads (install
location and download url): the new blocks are shorter than the old
five-line ones, so the previous window ran into the next browser's
install location and would have unpacked the archive into the wrong
directory.
Fixes #3089
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent e3db7a8 commit 040978c
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
321 | 327 | | |
322 | 328 | | |
323 | 329 | | |
| |||
0 commit comments