( cwd = process.cwd(), platform = process.platform, )
| 378 | } |
| 379 | |
| 380 | export function validateFrontendDependencies( |
| 381 | cwd = process.cwd(), |
| 382 | platform = process.platform, |
| 383 | ) { |
| 384 | const missingBins = getMissingFrontendDependencyBins(cwd, platform); |
| 385 | if (missingBins.length > 0) { |
| 386 | throw new Error( |
| 387 | formatMissingFrontendDependenciesGuidance(missingBins, cwd), |
| 388 | ); |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | /** |
| 393 | * Build the uvx command and arguments for running agent-server. |
no test coverage detected