(sponsors: Sponsor[])
| 228 | } |
| 229 | |
| 230 | async function writeWebsiteSponsorsFile(sponsors: Sponsor[]): Promise<void> { |
| 231 | await mkdir(path.dirname(WEBSITE_SPONSORS_FILE), { recursive: true }) |
| 232 | const content = buildWebsiteSponsorsFileContent(sponsors) |
| 233 | await writeFile(WEBSITE_SPONSORS_FILE, content) |
| 234 | } |
| 235 | |
| 236 | async function main(): Promise<void> { |
| 237 | const response = await fetch(SPONSORS_SOURCE_URL) |
no test coverage detected