(binName: string)
| 4 | import { debug, glob, runShellScript } from '@vercel/build-utils'; |
| 5 | |
| 6 | export function getExecutableName(binName: string): string { |
| 7 | // The compiled binary in Windows has the `.exe` extension |
| 8 | return process.platform === 'win32' ? `${binName}.exe` : binName; |
| 9 | } |
| 10 | |
| 11 | export function assertEnv(name: string): string { |
| 12 | if (!process.env[name]) { |
no outgoing calls
no test coverage detected