(releases: any, architecture: string)
| 266 | } |
| 267 | |
| 268 | export function findAssetForWindows(releases: any, architecture: string) { |
| 269 | architecture = pypyArchitecture(architecture); |
| 270 | return releases.files.find( |
| 271 | (item: any) => |
| 272 | WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture |
| 273 | ); |
| 274 | } |
| 275 | |
| 276 | export function findAssetForMacOrLinux( |
| 277 | releases: any, |
no test coverage detected