Skip to content

Commit 18f33ed

Browse files
author
Benjamin Pasero
committed
files - no need to await last write
1 parent ed12732 commit 18f33ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/vs/platform/files/common

src/vs/platform/files/common/io.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function doReadFileIntoStream<T>(provider: IFileSystemProviderWithOpenRead
100100
lastChunkLength = Math.min(posInBuffer, allowedRemainingBytes);
101101
}
102102

103-
await target.write(transformer(buffer.slice(0, lastChunkLength)));
103+
target.write(transformer(buffer.slice(0, lastChunkLength)));
104104
}
105105
} catch (error) {
106106
throw ensureFileSystemProviderError(error);

0 commit comments

Comments
 (0)