Commit caf61af
## Summary
- `vp env setup` creates shims for `["node", "npm", "npx", "vpx"]`
- `vp env doctor` only checked `["node", "npm", "npx"]`, missing `vpx`
- A broken or missing `vpx` shim was invisible to the doctor
Fixes #880
One-line change in `crates/vite_global_cli/src/commands/env/doctor.rs`.
## Context
`setup.rs:24` defines:
```rust
const SHIM_TOOLS: &[&str] = &["node", "npm", "npx", "vpx"];
```
But `doctor.rs:25` had:
```rust
const SHIM_TOOLS: &[&str] = &["node", "npm", "npx"];
```
This also means the PATH section's tool-resolution check (line 373)
skipped `vpx`.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
1 parent 28dc207 commit caf61af
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments