Merge branch 'main' into dependabot/npm_and_yarn/axios-0.30.0

This commit is contained in:
mr. m 2025-05-12 20:06:41 +02:00 committed by GitHub
commit 1246d22ba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ export async function downloadFileToLocation(
}) })
: process.stdout, : process.stdout,
}) })
progressBar.start(length, receivedBytes) progressBar.start(length as number, receivedBytes)
data.on('data', (chunk: { length: number }) => { data.on('data', (chunk: { length: number }) => {
receivedBytes += chunk.length receivedBytes += chunk.length