Skip to content

Commit b1d27ae

Browse files
authored
fix: progress bar update (#169)
1 parent 88cedf6 commit b1d27ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/s3_plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ module.exports = class S3Plugin {
250250
upload.on('httpUploadProgress', ({loaded}) => {
251251
progressValue += loaded
252252

253-
progressBar.update(progressValue)
253+
progressBar.update(progressValue / progressTotal)
254254
})
255255
})
256256
}

0 commit comments

Comments
 (0)