This commit is contained in:
parent
7a2b445a4b
commit
154a05918b
|
@ -8477,7 +8477,6 @@ function downloadFile(url, fileStream) {
|
|||
response.on('error', err => {
|
||||
reject(err);
|
||||
});
|
||||
// response.pipe(fileStream)
|
||||
});
|
||||
}
|
||||
catch (err) {
|
||||
|
|
|
@ -155,7 +155,6 @@ function downloadFile(url: string, fileStream: WriteStream): Promise<void> {
|
|||
response.on('error', err => {
|
||||
reject(err)
|
||||
})
|
||||
// response.pipe(fileStream)
|
||||
})
|
||||
} catch (err) {
|
||||
reject(err)
|
||||
|
|
Loading…
Reference in New Issue