Skip to content

Commit

Permalink
Merge pull request #6 from leodutra/patch-1
Browse files Browse the repository at this point in the history
Removes unnecessary console.log()
  • Loading branch information
minhnhut authored Oct 31, 2019
2 parents 2092584 + da5a877 commit 02e26a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/DownloadWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ module.exports = class extends EventEmitter {
const request = httpLibrary.request(requestOptions, (res) => {
this.totalBytes = res.headers["content-length"];
this.isPartialSupported = res.headers["accept-ranges"] && res.headers["accept-ranges"] == "bytes";
console.log(res.headers["accept-ranges"])
if (res.statusCode == 200) {
this.emit('ready');
} else {
Expand Down

0 comments on commit 02e26a3

Please sign in to comment.