(root: string, agent: string)
| 412 | } |
| 413 | |
| 414 | function install(root: string, agent: string) { |
| 415 | if (process.env._VITE_TEST_CLI) { |
| 416 | prompts.log.step( |
| 417 | `Installing dependencies with ${agent}... (skipped in test)`, |
| 418 | ) |
| 419 | return |
| 420 | } |
| 421 | prompts.log.step(`Installing dependencies with ${agent}...`) |
| 422 | run(getInstallCommand(agent), { |
| 423 | stdio: 'inherit', |
| 424 | cwd: root, |
| 425 | }) |
| 426 | } |
| 427 | |
| 428 | function start(root: string, agent: string) { |
| 429 | if (process.env._VITE_TEST_CLI) { |
no test coverage detected