Skip to content

Commit 871e569

Browse files
committed
fix: 删除打印日志
1 parent 7a4d27a commit 871e569

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/copy-docs.js

-2
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ const copy = async () => {
3737
packages.forEach((item) => {
3838
if (item.show) {
3939
let cmpName = item.name.toLowerCase();
40-
console.log(cmpName);
4140
// 拷贝文档
4241
let docpath = `${process.cwd()}/components/${cmpName}/commutiy/doc.md`;
4342
let docENpath = `${process.cwd()}/components/${cmpName}/commutiy/doc.en-US.md`;
4443
fse.readFile(docpath, (err, data) => {
4544
if (!err) {
4645
copyFile(docpath, `${targetBaseUrl}/docs/${cmpName}/doc.md`);
4746
}
48-
console.log(err);
4947
});
5048
fse.readFile(docENpath, (err, data) => {
5149
if (!err) {

0 commit comments

Comments
 (0)