fix(sync): use warn
instead of log
for warnings
Some checks failed
Actions / Build and Push Documentation (push) Failing after 14s
Some checks failed
Actions / Build and Push Documentation (push) Failing after 14s
This commit is contained in:
parent
28dc915498
commit
cd64371c58
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue