(def: BinaryDef)
| 129 | } |
| 130 | |
| 131 | function getBinaryPath(def: BinaryDef): string | null { |
| 132 | const filename = def.filename[process.platform] |
| 133 | if (!filename) return null |
| 134 | return path.join(getBinDir(), filename) |
| 135 | } |
| 136 | |
| 137 | function getPlatformKey(): string { |
| 138 | return `${process.platform}-${process.arch}` |
no test coverage detected