From df02ea20d7e12e8b9ffdd2968afaf5893c433488 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 11 Aug 2023 04:32:11 +0000
Subject: [PATCH] spacing fix
---
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