1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

??改为|| 兼容node v12.13.1

This commit is contained in:
2022-10-09 17:37:57 +08:00
parent c28fca34be
commit 7afc7f79e2
10 changed files with 215 additions and 87 deletions

View File

@@ -25,7 +25,7 @@ async function fetchAll({ args = {} }) {
for (let i = 0; i < songIds.length; i++) {
await global.checkIsExit();
const songId = songIds[i];
console.log(`${i + 1}/${songIds.length} | lyric: ${songId} | ${args.min ?? "?"}-${args.max ?? "?"}`);
console.log(`${i + 1}/${songIds.length} | lyric: ${songId} | ${args.min || "?"}-${args.max || "?"}`);
try {
await fetch({ songId: songId });
} catch (err) {