fix: remove code and package

This commit is contained in:
kunkka 2020-10-27 01:27:54 +08:00
parent ab46df03de
commit 9eb1417ada
2 changed files with 1 additions and 132 deletions

View file

@ -34,10 +34,6 @@ async function download(options, fileName, callback) {
const file = fs.createWriteStream(destPath);
const request = https.get(options, (res) => {
let len = res.headers && parseInt(res.headers["content-length"], 10);
console.log();
if (len) {
console.log();
}
let cur = 0;
// 1048576 - bytes in 1Megabyte
const MEGA = 1048576;