test
This commit is contained in:
@@ -48,6 +48,7 @@ function copyDirectorySync(source, target) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// try {
|
||||
// const sourceDir = './dist';
|
||||
// const targetDir = 'E:\\pinan_dist';
|
||||
@@ -58,6 +59,7 @@ function copyDirectorySync(source, target) {
|
||||
// console.error('复制过程中出错:', err);
|
||||
// }
|
||||
// process.exit(0);
|
||||
|
||||
try {
|
||||
// 检查dist目录是否存在
|
||||
if (!fs.existsSync(config.distPath)) {
|
||||
|
||||
Reference in New Issue
Block a user