( item: any, architecture: string, platform: string )
| 255 | } |
| 256 | |
| 257 | export function isArchPresentForMacOrLinux( |
| 258 | item: any, |
| 259 | architecture: string, |
| 260 | platform: string |
| 261 | ) { |
| 262 | architecture = pypyArchitecture(architecture); |
| 263 | return item.files.some( |
| 264 | (file: any) => file.arch === architecture && file.platform === platform |
| 265 | ); |
| 266 | } |
| 267 | |
| 268 | export function findAssetForWindows(releases: any, architecture: string) { |
| 269 | architecture = pypyArchitecture(architecture); |
no test coverage detected