(candidatePath)
| 204 | } |
| 205 | |
| 206 | function verifyCandidate(candidatePath) { |
| 207 | execFileSync(candidatePath, ['--version'], { |
| 208 | stdio: ['ignore', 'pipe', 'pipe'], |
| 209 | timeout: CANDIDATE_TIMEOUT_MS, |
| 210 | windowsHide: true, |
| 211 | }); |
| 212 | } |
| 213 | |
| 214 | function fileSha256(candidatePath) { |
| 215 | const digest = crypto.createHash('sha256'); |