提交 fdd15923 编写于 作者: J Jason Park 提交者: Jason

Rename desc.json to desc.md

上级 e69968f5
......@@ -14,8 +14,7 @@ for (const category of categories) {
if (algorithm.startsWith('.')) continue;
const dir = path.resolve(__dirname, '..', 'algorithm', category, algorithm);
try {
fs.renameSync(path.resolve(dir, 'desc.md'), path.resolve(dir, 'desc.json'));
// fs.unlinkSync(path.resolve(dir, 'desc.json'));
fs.renameSync(path.resolve(dir, 'desc.json'), path.resolve(dir, 'desc.md'));
} catch (e) {
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册