Commit ecf6ab03 authored by wildfirecode's avatar wildfirecode

1

parent a14ea6df
...@@ -12,7 +12,8 @@ module.exports = (input, output) => { ...@@ -12,7 +12,8 @@ module.exports = (input, output) => {
let inputSplited = input.split(path.sep); let inputSplited = input.split(path.sep);
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();
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