提交 af18117a 编写于 作者: a865501259's avatar a865501259

log: show cache state

上级 ad8b5c29
......@@ -72,7 +72,8 @@ Example
asyncNum,
Force,
ignores,
glob
glob,
Cache
} = mergeConfig(cli);
const translateMds = require('./src/translateMds.js');
......@@ -82,7 +83,7 @@ Example
// after workOptions ready
const {writeDataToFile} = require('./src/util/writeDataToFile.js');
console.log(b('Starting 翻译') + r(dir));
console.log(b(`> ${yow(`Cache:${Cache}`)} Starting 翻译`) + r(dir));
// Get floder markdown files Array
const getList = await listMd(path.resolve(process.cwd(), dir), {deep: 'all'});
......
......@@ -105,7 +105,8 @@ function mergeConfig(cli) {
asyncNum,
Force,
ignores,
glob
glob,
Cache
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册