From a7c0bee5cf511977d6edeb0ef4e0724efb8df94c Mon Sep 17 00:00:00 2001 From: mambuco Date: Sun, 3 Sep 2023 22:18:09 +0200 Subject: [PATCH] Fixed a problem cause by KillerBoss --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index a22b47e..744166b 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(`${emoji}[${time} ${type}] | ${line}`); + log(`${this.emoji ? emoji : ''}[${time} ${type}] | ${line}`); }) } stringc.split("\n").forEach((line) => { - console.log(`${emojic}[${timec} ${typec}] | ${line}`); + console.log(`${this.emoji ? emojic : ''}[${timec} ${typec}] | ${line}`); }) }