Commit 44e190b
committed
fix: Skip corepack setup for package managers it doesn't support
Corepack only manages yarn and pnpm. Running corepack enable/prepare
for bun or npm fails since corepack doesn't support them. Guard both
setup_package_manager and prepare_corepack_from_package_json to only
invoke corepack for supported PMs.
Fixes test_lockfile_aware_caching_bun failure.1 parent dabe704 commit 44e190b
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
| 132 | + | |
132 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
133 | 138 | | |
134 | 139 | | |
135 | 140 | | |
| |||
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
188 | | - | |
| 193 | + | |
189 | 194 | | |
190 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
191 | 201 | | |
192 | 202 | | |
193 | 203 | | |
| |||
338 | 348 | | |
339 | 349 | | |
340 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
341 | 355 | | |
342 | 356 | | |
343 | 357 | | |
| |||
0 commit comments