(candidatePath)
| 342 | } |
| 343 | |
| 344 | function verifyCandidate(candidatePath) { |
| 345 | execFileSync(candidatePath, ['--version'], { |
| 346 | stdio: ['ignore', 'pipe', 'pipe'], |
| 347 | timeout: CANDIDATE_TIMEOUT_MS, |
| 348 | windowsHide: true, |
| 349 | }); |
| 350 | } |
| 351 | |
| 352 | function fileSha256(candidatePath) { |
| 353 | const digest = crypto.createHash('sha256'); |