Commit 8cc0abce authored by wildfirecode's avatar wildfirecode

1

parent ecf6ab03
...@@ -13,7 +13,7 @@ module.exports = (input, output) => { ...@@ -13,7 +13,7 @@ module.exports = (input, output) => {
let splited = val.split(path.sep); let splited = val.split(path.sep);
return splited.slice(inputSplited.length).join(path.sep); return splited.slice(inputSplited.length).join(path.sep);
}); });
imgURLs.filter(); // imgURLs.filter();
if (imgURLs.length == 0) { console.log('没有需要处理的图片.'); return; } if (imgURLs.length == 0) { console.log('没有需要处理的图片.'); return; }
console.log(`图片遍历完毕,共有${imgURLs.length}张`); console.log(`图片遍历完毕,共有${imgURLs.length}张`);
console.log('正在获取API信息...'); console.log('正在获取API信息...');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment