Skip to content

Commit

Permalink
Logs module error function reset colors in message
Browse files Browse the repository at this point in the history
  • Loading branch information
lafkpages committed Oct 15, 2023
1 parent 8495896 commit f1922a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/log/index.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit f1922a4

Please sign in to comment.