Skip to content

Commit

Permalink
Updated the changelog, adjusted the download API.
Browse files Browse the repository at this point in the history
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
  • Loading branch information
Akos Kitta committed Jun 14, 2019
1 parent a00e32e commit 4fc9345
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Breaking changes:
- [debug] align commands with VS Code [#5102](https://github.com/theia-ide/theia/issues/5102)
- `debug.restart` renamed to `workbench.action.debug.restart`
- [preferences] renamed overridenPreferenceName to overriddenPreferenceName
- [filesystem] Changed `FileDownloadService` API to support streaming download of huge files.

## v0.7.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export abstract class FileDownloadHandler {
/**
* Streams the file and pipe it to the Response to avoid any OOM issues
*/
protected streamDownload(status: number, response: Response, stream: fs.ReadStream, id: string) {
protected streamDownload(status: number, response: Response, stream: fs.ReadStream, id: string): void {
response.status(status);
stream.on('error', error => {
this.fileDownloadCache.deleteDownload(id);
Expand Down

0 comments on commit 4fc9345

Please sign in to comment.