From cd3fb2af1afafbd36f659bb571c2601d18be9803 Mon Sep 17 00:00:00 2001 From: sentivate Date: Thu, 6 May 2021 04:14:30 -0400 Subject: [PATCH] console bug removed --- utilities/console/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/utilities/console/index.js b/utilities/console/index.js index 4119f410..a8777115 100644 --- a/utilities/console/index.js +++ b/utilities/console/index.js @@ -32,13 +32,11 @@ module.exports = (state) => { const header = ` ---------------- Message Sent ---------------- `; const prettyItems = prettyObjects(args); console.log(chalk.hex(`#6200ea`)(`${state.type}: ${header}`, ...prettyItems, `\n`).replace(`${header} `, `${header}\n`)); - const header = ` ---------------- Message Sent END ---------------- `; }; state.logReceived = (...args) => { const header = ` ---------------- Message Received ---------------- `; const prettyItems = prettyObjects(args); console.log(chalk.hex(`#2962ff`)(`${(state.type)}: ${header}`, ...prettyItems, `\n`).replace(`${header} `, `${header}\n`)); - const header = ` ---------------- Message Received END ---------------- `; }; state.logImprt = (value, directory) => { const logValue = (directory) ? `${value} - ${directory}` : value;