downloader: no awaitear readme.txt

This commit is contained in:
Cat /dev/Nulo 2023-12-07 23:52:01 -03:00
parent 5bb976b49e
commit f94efd437c

View file

@ -85,7 +85,7 @@ let jsonUrls = process.argv.slice(2);
if (jsonUrls.length < 1) {
jsonUrls = sitiosPorDefecto;
}
await writeFile("readme.txt", generateReadme(jsonUrls));
writeFile("readme.txt", generateReadme(jsonUrls));
for (const url of jsonUrls)
downloadFromData(url).catch((error) =>
console.error(`${url} FALLÓ CON`, error),