Skip to content

Commit

Permalink
Remove duplicate download call
Browse files Browse the repository at this point in the history
Removes an extra call that was downloading the first
file twice.
  • Loading branch information
antonym committed Nov 16, 2023
1 parent 64ded80 commit ecc8721
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ async function downloader(downloads){
console.error('Download failed:', error);
});

await dl.start();
if ( ! url.includes('s3.amazonaws.com')){
// Part 2 if exists repeat
var response = await fetch(url + '.part2', {method: 'HEAD'});
Expand Down

0 comments on commit ecc8721

Please sign in to comment.