From 9415daea36aac1702e1aa757f24f1c9685edb350 Mon Sep 17 00:00:00 2001 From: VisualSJ Date: Wed, 3 Apr 2024 13:29:32 +0800 Subject: [PATCH] =?UTF-8?q?[Optimize]=20=E4=BB=BB=E5=8A=A1=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E7=9A=84=E6=97=B6=E5=80=99=E8=BE=93=E5=87=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- source/task.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5728e2b..639c16e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@itharbors/workflow", - "version": "0.2.6", + "version": "0.2.7", "description": "", "main": "./dist/index.js", "scripts": { diff --git a/source/task.ts b/source/task.ts index a8e9264..40a25bf 100644 --- a/source/task.ts +++ b/source/task.ts @@ -330,7 +330,7 @@ export async function executeTask(taskNameList: string[]) { manager.start(); manager.addListener('finish', () => { const taskEndTime = Date.now(); - console.log(gray(`The "${taskName}" task is completed in ${formatTime(taskEndTime - taskStartTime)}`)); + console.log(gray(`The "${taskName}" task is completed in ${formatTime(taskEndTime - taskStartTime)} ${taskEndTime.toLocaleString()}`)); resolve(undefined); }); });