diff options
Diffstat (limited to 'editors/code/src/installation/download_file.ts')
-rw-r--r-- | editors/code/src/installation/download_file.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/code/src/installation/download_file.ts b/editors/code/src/installation/download_file.ts index 53bf46d78..b51602ef9 100644 --- a/editors/code/src/installation/download_file.ts +++ b/editors/code/src/installation/download_file.ts | |||
@@ -20,6 +20,8 @@ export async function downloadFile( | |||
20 | 20 | ||
21 | let readBytes = 0; | 21 | let readBytes = 0; |
22 | 22 | ||
23 | console.log("Downloading file of", totalBytes, "bytes size from", url, "to", destFilePath); | ||
24 | |||
23 | return new Promise<void>((resolve, reject) => response.body | 25 | return new Promise<void>((resolve, reject) => response.body |
24 | .on("data", (chunk: Buffer) => { | 26 | .on("data", (chunk: Buffer) => { |
25 | readBytes += chunk.length; | 27 | readBytes += chunk.length; |