From f1922a4115173ea3ebe73389c3b54931331e2223 Mon Sep 17 00:00:00 2001 From: lafkpages Date: Sun, 15 Oct 2023 22:07:03 +0000 Subject: [PATCH] Logs module error function reset colors in message --- src/log/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log/index.ts b/src/log/index.ts index c2a87de..4f9b0ae 100644 --- a/src/log/index.ts +++ b/src/log/index.ts @@ -1,7 +1,7 @@ import { colors } from "./colors"; export function error(message: string) { - console.error(colors.red("error") + colors.gray(":"), message); + console.error(colors.red("error") + colors.gray(":"), colors.reset(message)); } export const ok = colors.ok;