We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a4d27a commit 871e569Copy full SHA for 871e569
scripts/copy-docs.js
@@ -37,15 +37,13 @@ const copy = async () => {
37
packages.forEach((item) => {
38
if (item.show) {
39
let cmpName = item.name.toLowerCase();
40
- console.log(cmpName);
41
// 拷贝文档
42
let docpath = `${process.cwd()}/components/${cmpName}/commutiy/doc.md`;
43
let docENpath = `${process.cwd()}/components/${cmpName}/commutiy/doc.en-US.md`;
44
fse.readFile(docpath, (err, data) => {
45
if (!err) {
46
copyFile(docpath, `${targetBaseUrl}/docs/${cmpName}/doc.md`);
47
}
48
- console.log(err);
49
});
50
fse.readFile(docENpath, (err, data) => {
51
0 commit comments