(x: unknown)
| 137 | } |
| 138 | |
| 139 | function isValidBinSpec(x: unknown): x is BinSpec { |
| 140 | return typeof x === `object` && x !== null && !Array.isArray(x) && Object.keys(x).length > 0; |
| 141 | } |
| 142 | |
| 143 | async function download(installTarget: string, url: string, algo: string, binPath: string | null = null): Promise<DownloadSpec> { |
| 144 | // Creating a temporary folder inside the install folder means that we |
no outgoing calls
no test coverage detected
searching dependent graphs…