diff --git a/src/utils/download.ts b/src/utils/download.ts index 11dc6a9..302bd04 100644 --- a/src/utils/download.ts +++ b/src/utils/download.ts @@ -38,7 +38,7 @@ export async function downloadFileToLocation( }) : process.stdout, }) - progressBar.start(length, receivedBytes) + progressBar.start(length as number, receivedBytes) data.on('data', (chunk: { length: number }) => { receivedBytes += chunk.length