fix(sync): use warn instead of log for warnings
Some checks failed
Actions / Build and Push Documentation (push) Failing after 14s

This commit is contained in:
cswimr 2025-02-12 01:12:03 -06:00
parent 28dc915498
commit cd64371c58
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -35,7 +35,7 @@ async function downloadFile(
}
const arrayBuffer = await response.arrayBuffer();
if (arrayBuffer.byteLength === 0) {
console.log(`WARNING: Downloaded file is empty: ${url}`);
console.warn(`WARNING: Downloaded file is empty: ${url}`);
}
const dataBuffer = Buffer.from(new Uint8Array(arrayBuffer));
doHashesMatch(hash, hashFormat, dataBuffer);