From 3639b884175f23ce2c19d59d0dc0abaa10b7ef1e Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 28 Dec 2022 16:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/custom/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/custom/download.js b/src/rest/custom/download.js index 5cc0bc3..2a0b973 100644 --- a/src/rest/custom/download.js +++ b/src/rest/custom/download.js @@ -14,7 +14,7 @@ module.exports = { console.log(`${path}=========>${exists}`) if (exists) { execute(`cd ${path}&&zip -r ${info.id}.zip .`) - .then(() => execute(`cd ${path}&&mv ${info.id}.zip ~/../zips/`)) + .then(() => execute(`cd ${path}&&mv ${info.id}.zip /home/deploy/node_deploy/zips/`)) .then(() => { console.log('压缩完成!') setTimeout(() => {