Progress was reported against the filesize variable. This variable is set to the compressed file size if compression is enabled. PR #112 ensures that bytes written no longer exceeded the filesize variable, but bytesWritten represents the actual bytes written. This caused the last ~30% progress to not be reported because that's when actual bytes written exceeded the compressed file size.
Progress was reported against the
filesize
variable. This variable is set to the compressed file size if compression is enabled. PR #112 ensures that bytes written no longer exceeded thefilesize
variable, butbytesWritten
represents the actual bytes written. This caused the last ~30% progress to not be reported because that's when actual bytes written exceeded the compressed file size.