users/ericsciple/m163tarball_efficient_download
eric sciple 5 years ago
parent 7a2b445a4b
commit 154a05918b

1
dist/index.js vendored

@ -8477,7 +8477,6 @@ function downloadFile(url, fileStream) {
response.on('error', err => { response.on('error', err => {
reject(err); reject(err);
}); });
// response.pipe(fileStream)
}); });
} }
catch (err) { catch (err) {

@ -155,7 +155,6 @@ function downloadFile(url: string, fileStream: WriteStream): Promise<void> {
response.on('error', err => { response.on('error', err => {
reject(err) reject(err)
}) })
// response.pipe(fileStream)
}) })
} catch (err) { } catch (err) {
reject(err) reject(err)

Loading…
Cancel
Save