From a0585e0914605af8db9d54ecad900b54048fffdf Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 23 Jun 2022 09:42:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0node=E5=A4=9A=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=85=BC=E5=AE=B9=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rest/autodeploy/getZip.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rest/autodeploy/getZip.js b/src/rest/autodeploy/getZip.js index 69dff18..bbde7e1 100644 --- a/src/rest/autodeploy/getZip.js +++ b/src/rest/autodeploy/getZip.js @@ -20,8 +20,7 @@ module.exports = { updateCMD = `/root/node-service/update.sh ${name} ${zipPath}`, buildCMD = `/root/node-service/build.sh ${type} ${zipPath} ${target}` if (nodeVersion) { - updateCMD += `&n ${nodeVersion}` - buildCMD += `&n 16.14.0` + buildCMD += ` ${nodeVersion}` } return execute(updateCMD).then(() => execute(buildCMD)) } else {