From aaae7d46c21491397b1f723d5ae16cff4f258544 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 02 Aug 2023 05:48:32 +0000
Subject: [PATCH] Merge branch 'v4-alpha' of https://github.com/jackyzha0/quartz into v4-alpha
---
quartz/log.ts | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/quartz/log.ts b/quartz/log.ts
index 73e5d7e..773945c 100644
--- a/quartz/log.ts
+++ b/quartz/log.ts
@@ -17,10 +17,12 @@
}
}
- success(text: string) {
+ end(text?: string) {
if (!this.verbose) {
this.spinner!.stop(true)
}
- console.log(text)
+ if (text) {
+ console.log(text)
+ }
}
}
--
Gitblit v1.10.0