We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2dcdd6 commit 4d6ef6aCopy full SHA for 4d6ef6a
1 file changed
src/downloadUtil/download.ts
@@ -19,7 +19,7 @@ export class DownloadUtil {
19
progressCb?: (current: number, increment: number) => void,
20
throttle = 250,
21
): Promise<void> {
22
- const dls = got(fromUrl, { isStream: true });
+ const dls = got.stream(fromUrl);
23
if (progressCb) {
24
let previous = 0;
25
// Process progress event from 'got'
0 commit comments