(candidates)
| 371 | } |
| 372 | |
| 373 | function findExistingPath(candidates) { |
| 374 | for (const candidate of candidates) { |
| 375 | if (candidate && fs.existsSync(candidate)) { |
| 376 | return candidate; |
| 377 | } |
| 378 | } |
| 379 | |
| 380 | return null; |
| 381 | } |
| 382 | |
| 383 | function runCommand(command, commandArgs, options) { |
| 384 | const { cwd, env, label } = options; |
no outgoing calls
no test coverage detected