From 24d665f2a9439349a0508b58ef48a97f29f7fed5 Mon Sep 17 00:00:00 2001 From: mambuco Date: Sun, 3 Sep 2023 00:10:58 +0200 Subject: [PATCH] Other Cleanup --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 10f6898..1e7861f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -71,12 +71,12 @@ export default class cout { } if (this.save) { string.split("\n").forEach((line) => { - log(`${this.emoji ? emoji : ""}[${time} ${type}] | ${line}`); + log(`${this.emoji && emoji}[${time} ${type}] | ${line}`); }) } stringc.split("\n").forEach((line) => { - console.log(`${this.emoji ? emojic : ""}[${timec} ${typec}] | ${line}`); + console.log(`${this.emoji && emojic}[${timec} ${typec}] | ${line}`); }) }