Commit bbce99e
committed
fix(installer): propagate VP_HOME to child vp processes
When --install-dir overrides the default location, child vp processes
(refresh_shims, create_env_files, install_production_deps) would fall
back to ~/.vite-plus because VP_HOME was not set in their environment.
Set VP_HOME to the resolved install directory before spawning any child
processes so they always use the correct location.1 parent d3b35fb commit bbce99e
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
0 commit comments