chore(fs/outputStream): remove input.task handling
This should be handled at a higher level, not in this lib.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -59,7 +59,6 @@ export default class S3Handler extends RemoteHandlerAbstract {
|
||||
},
|
||||
{ partSize: IDEAL_FRAGMENT_SIZE, queueSize: 1 }
|
||||
)
|
||||
await input.task
|
||||
}
|
||||
|
||||
async _writeFile(file, data, options) {
|
||||
|
||||
Reference in New Issue
Block a user