+1
-3
@@ -1,7 +1,5 @@
|
||||
import { bold, red } from "./deps.ts";
|
||||
|
||||
export function printError(message: string) {
|
||||
console.error(red(`${bold("error")}: ${message}`));
|
||||
console.error(`%cerror%c: ${message}`, "color: red; font-weight: bold", "");
|
||||
}
|
||||
|
||||
export function error(message: string): never {
|
||||
|
||||
Reference in New Issue
Block a user