Commit d7b9b6a
committed
fix(cli): scope CI env var to child process in Windows install script (#1292)
Use `cmd /c "set CI=true && ..."` instead of setting `$env:CI` directly,
so the variable is scoped to the child process and does not persist in the
user's PowerShell session. This prevented `vp create` from entering
interactive mode when run in the same terminal after installation.
Closes #12881 parent 3a1b440 commit d7b9b6a
File tree
2 files changed
+4
-3
lines changed- packages/cli
- snap-tests-global/new-vite-monorepo-bun
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
378 | | - | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments