feat(fs/outputStream): remove support for promise input

This commit is contained in:
Julien Fontanet
2021-04-30 19:42:10 +02:00
parent 8ff8c0d176
commit a50a96de82

View File

@@ -199,7 +199,6 @@ export default class RemoteHandlerAbstract {
// write a stream to a file using a temporary file
async outputStream(path, input, { checksum = true, dirMode } = {}) {
path = normalizePath(path)
input = await input
let checksumStream
if (checksum) {
checksumStream = createChecksumStream()