Skip to content

Commit

Permalink
fix totalBytesRead/Written reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Apr 2, 2024
1 parent 7835c3b commit 193a44a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export async function action(options: CSVRunOptions ) {

emitter.on("progress", (progress) => {
if ( progress.processedBytes ) {
totalBytesRead += Number(progress.processedBytes.totalBytesRead);
totalBytesWritten += Number(progress.processedBytes.totalBytesWritten);
totalBytesRead = Number(progress.processedBytes.totalBytesRead);
totalBytesWritten = Number(progress.processedBytes.totalBytesWritten);
runningJobs = progress.runningJobs.length;
}
log();
Expand Down

0 comments on commit 193a44a

Please sign in to comment.