From e6be3869ea78972cc2224066df13f0cebc594f49 Mon Sep 17 00:00:00 2001 From: ruan-cat <1219043956@qq.com> Date: Tue, 15 Oct 2024 16:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf(vercel-deploy-tool):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E6=8E=A7=E5=88=B6=E5=8F=B0=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E7=9A=84=E7=BB=93=E6=9E=9C=EF=BC=8C=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=8E=89=E4=BA=86=E8=AE=B8=E5=A4=9A=E5=86=97=E9=95=BF=E7=9A=84?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demos/vercel-deploy-tool/src/index.ts | 10 +++++----- .../src/utils/define-promise-tasks.ts | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/demos/vercel-deploy-tool/src/index.ts b/demos/vercel-deploy-tool/src/index.ts index be4d1ba..920a4a1 100644 --- a/demos/vercel-deploy-tool/src/index.ts +++ b/demos/vercel-deploy-tool/src/index.ts @@ -244,8 +244,8 @@ function generateCopyDistTasks(deployTarget: WithUserCommands) { parameters: [], }); const { code, stdout } = await commandFunction(); - consola.info(` 执行了命令: `, command); - consola.box(stdout); + consola.info(` 执行了命令 🐓: `, command); + // consola.box(stdout); }); }); @@ -311,7 +311,7 @@ function generateAfterBuildTasksConfig(config: Config): Task { consola.start(` 开始用户 afterBuildTasks 命令任务 `); const { code, stdout } = await userCommand(); consola.success(` 完成用户 afterBuildTasks 命令任务 ${code} `); - consola.box(stdout); + // consola.box(stdout); }); }), }; @@ -355,7 +355,7 @@ async function main() { const { code, stdout } = await build(); consola.success(` 完成build任务 `); consola.info(` 完成命令 ${code} `); - consola.box(stdout); + // consola.box(stdout); }); }), }, @@ -388,7 +388,7 @@ async function main() { consola.start(` 开始用户命令任务 `); const { code, stdout } = await userCommand(); consola.success(` 完成用户命令任务 ${code} `); - consola.box(stdout); + // consola.box(stdout); }); }), }, diff --git a/demos/vercel-deploy-tool/src/utils/define-promise-tasks.ts b/demos/vercel-deploy-tool/src/utils/define-promise-tasks.ts index dd3dcdc..8129fe8 100644 --- a/demos/vercel-deploy-tool/src/utils/define-promise-tasks.ts +++ b/demos/vercel-deploy-tool/src/utils/define-promise-tasks.ts @@ -125,11 +125,11 @@ export async function executePromiseTasks( res = await task(lastParams); lastParams = res; - console.log(` 串行任务 单独 res `, res); + // console.log(` 串行任务 单独 res `, res); } else { res = await executePromiseTasks(task, lastParams); lastParams = res; - console.log(` 串行任务 配置 res `, res); + // console.log(` 串行任务 配置 res `, res); } }