Commit f6f7962
committed
fix(env): remove misleading PATH position check in
Replace the position-based PATH check with a simple presence check.
The old code warned when `~/.vite-plus/bin` was not first in PATH,
but on Windows putting bin first actually breaks `vp` due to the
trampoline mechanism. The per-tool shim resolution check already
provides meaningful diagnostics for shadowed shims.vp env doctor
1 parent b4e091c commit f6f7962
1 file changed
Lines changed: 9 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
434 | 423 | | |
435 | 424 | | |
436 | 425 | | |
| |||
0 commit comments