From 677d7d40820ad5b0f84fe205d8518ba27fc65aec Mon Sep 17 00:00:00 2001 From: SmallK111407 <3399280843@qq.com> Date: Sun, 9 Jun 2024 04:03:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E8=AE=B0=E6=B3=A8=E9=87=8A=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=86=85=E5=AE=B9=E4=BA=86(?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tools/log.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tools/log.js b/lib/tools/log.js index 5cbacaa..0c0abbb 100644 --- a/lib/tools/log.js +++ b/lib/tools/log.js @@ -26,8 +26,8 @@ function runPm2Logs(appName) { const command = process.platform === "win32" ? "pm2.cmd" : "pm2" const args = ["logs", "--lines", "400", appName] - console.log(`Command: ${command}`) - console.log(`Args: ${args.join(" ")}`) + // console.log(`Command: ${command}`) + // console.log(`Args: ${args.join(" ")}`) const pm2LogsProcess = childProcess.spawn(command, args, { stdio: "inherit", shell: true })