mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 18:48:32 +08:00
style: scripts eslint
This commit is contained in:
parent
4f4f2a62db
commit
ff812128e5
@ -30,6 +30,7 @@ async function syncFiles(data = []) {
|
||||
if (!fs.existsSync(toPath)) {
|
||||
fse.ensureDirSync(toPath);
|
||||
}
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('update style: ', path.join(toPath, itemData.name.replace('.tsx', '.js')));
|
||||
const content = Base64.decode(itemData.content);
|
||||
fs.writeFileSync(path.join(toPath, itemData.name.replace('.tsx', '.js')), content);
|
||||
|
Loading…
Reference in New Issue
Block a user