diff --git a/SmartWebSocket.js b/SmartWebSocket.js index caf9c56..2262579 100644 --- a/SmartWebSocket.js +++ b/SmartWebSocket.js @@ -27,7 +27,7 @@ class SmartWebSocket{ if (color && typeof message == "string") { console[method]("%c%s\t | %c%s", "font-weight: bold; color: cyan;", this.debugName ?? this.url, `color: ${color};`, message); } else { - console[method]("%c%s\t | %c%s", "font-weight: bold; color: cyan;", this.debugName ?? this.url, "", message); + console[method]("%c%s\t |", "font-weight: bold; color: cyan;", this.debugName ?? this.url, message); } }