chore(fs/outputStream): remove input.task handling

This should be handled at a higher level, not in this lib.
This commit is contained in:
Julien Fontanet
2021-04-30 19:38:31 +02:00
parent a29b63c7d1
commit 8ff8c0d176
2 changed files with 0 additions and 2 deletions

View File

@@ -482,7 +482,6 @@ export default class RemoteHandlerAbstract {
})
try {
await fromCallback(pipeline, input, output)
await input.task
await this.rename(tmpPath, path)
} catch (error) {
await this.unlink(tmpPath)

View File

@@ -59,7 +59,6 @@ export default class S3Handler extends RemoteHandlerAbstract {
},
{ partSize: IDEAL_FRAGMENT_SIZE, queueSize: 1 }
)
await input.task
}
async _writeFile(file, data, options) {