Make generateStats script more performant

This commit is contained in:
Pieter Vander Vennet 2024-05-30 20:06:24 +02:00
parent a37ffb5523
commit 71380aa557
2 changed files with 24 additions and 12 deletions

View file

@ -178,7 +178,7 @@ export default class ScriptUtils {
if(!headers.Accept){
headers.accept ??= "application/json"
}
console.log(" > ScriptUtils.Download(", url, ")")
ScriptUtils.erasableLog(" > ScriptUtils.Download(", url, ")")
const urlObj = new URL(url)
const request = https.get(
{