mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
fix: remove code and package
This commit is contained in:
parent
ab46df03de
commit
9eb1417ada
2 changed files with 1 additions and 132 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue