(url: string, dest: fs.PathLike)
| 18 | } from '../utils'; |
| 19 | |
| 20 | const writeDownload = async (url: string, dest: fs.PathLike) => { |
| 21 | const res = await fetch(url); |
| 22 | await fs.writeFile(dest, Buffer.from(await res.arrayBuffer())); |
| 23 | }; |
| 24 | |
| 25 | interface StaticVariant { |
| 26 | kind: 'static'; |
no test coverage detected