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 |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/quartz/log.ts b/quartz/log.ts
index f96cfe4..773945c 100644
--- a/quartz/log.ts
+++ b/quartz/log.ts
@@ -1,4 +1,4 @@
-import { Spinner } from 'cli-spinner'
+import { Spinner } from "cli-spinner"
 
 export class QuartzLogger {
   verbose: boolean
@@ -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