Commit b47698a
committed
PuppeteerProvider: add browser_cache_dir field override
The computed ``cache_dir = install_root/cache`` default works for the
managed lib-dir layout but forced downstream plugins to treat
``PUPPETEER_CACHE_DIR`` as ``install_root.parent``, which broke callers
that pin the cache at an arbitrary path (e.g. ``lib/puppeteer/chrome``).
Add a writable ``browser_cache_dir`` field that wins over the computed
default so hooks can pass the user-configured PUPPETEER_CACHE_DIR through
to the provider verbatim while still using ``install_root`` / ``bin_dir``
for metadata and shim locations.1 parent d84304d commit b47698a
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
83 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
0 commit comments