hack for nan%
content-length is returning 0 bytes on text files for some reason, removing it for the time being
This commit is contained in:
parent
cb3263bba7
commit
622f0b77dd
@ -1741,8 +1741,8 @@ class AssetGuard extends EventEmitter {
|
||||
doHashCheck = true
|
||||
|
||||
// Adjust download
|
||||
this.totaldlsize -= asset.size
|
||||
this.totaldlsize += contentLength
|
||||
// this.totaldlsize -= asset.size
|
||||
// this.totaldlsize += contentLength
|
||||
}
|
||||
|
||||
let writeStream = fs.createWriteStream(asset.to)
|
||||
|
Loading…
Reference in New Issue
Block a user