mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-25 15:06:26 -08:00
further fix
This commit is contained in:
parent
486fb6912e
commit
38dd9e9c57
|
@ -352,7 +352,9 @@ export default class Files {
|
||||||
let response = this.push(nextChunk)
|
let response = this.push(nextChunk)
|
||||||
|
|
||||||
while (response) {
|
while (response) {
|
||||||
response = this.push(await getNextChunk())
|
let nextChunk = await getNextChunk()
|
||||||
|
response = this.push(nextChunk)
|
||||||
|
if (!nextChunk) return
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue