提交 3a4807c6 编写于 作者: 折影轻梦

修复一处错误

上级 422e7ccd
......@@ -4,7 +4,7 @@ if (fs.existsSync('../hexo/package.json')){
const version = JSON.parse(fs.readFileSync('../hexo/package.json')).version
if (version.split('.')[0] === '5') {
const oldConfigPath = '../../_config.old.yml'
const configPath = '../../_config.nexmoe.yml'
const configPath = '../../_config.yet-the-books.yml'
if (!fs.existsSync(configPath) && !fs.existsSync(oldConfigPath)) {
fs.writeFileSync(configPath, fs.readFileSync('./_config.yml'))
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册