From f2c03b4a46067d04b5e07602e83190a05281ef7b Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Tue, 13 Nov 2018 15:03:08 +0100 Subject: [PATCH] fix strict null checks in downloadIpc --- src/vs/platform/download/node/downloadIpc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/platform/download/node/downloadIpc.ts b/src/vs/platform/download/node/downloadIpc.ts index dab6733be58..9eb24d0f3e7 100644 --- a/src/vs/platform/download/node/downloadIpc.ts +++ b/src/vs/platform/download/node/downloadIpc.ts @@ -57,8 +57,8 @@ export class DownloadServiceChannelClient implements IDownloadService { out = fs.createWriteStream(to); out.once('close', () => c()); out.once('error', e); - const uploadStream = this.channel.listen('upload', from); - const disposable = uploadStream((result: UploadResponse) => { + const uploadStream = this.channel.listen('upload', from); + const disposable = uploadStream(result => { if (result === void 0) { disposable.dispose(); out.end(c); -- GitLab