From dd692d0a47504944018a2a61bdeb8d23a0e1d66e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Tue, 29 Jul 2025 22:10:47 +0800 Subject: [PATCH] test --- pingan/deploy.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pingan/deploy.js b/pingan/deploy.js index ea70766..9c2817f 100644 --- a/pingan/deploy.js +++ b/pingan/deploy.js @@ -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)) {