Skip to content

Commit

Permalink
console bug removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sentivate committed May 6, 2021
1 parent dc8d24f commit cd3fb2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utilities/console/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd3fb2a

Please sign in to comment.