+4
-5
@@ -6,8 +6,7 @@ export {
|
||||
join,
|
||||
resolve,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.128.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.128.0/fs/walk.ts";
|
||||
export { bold, red } from "https://deno.land/std@0.128.0/fmt/colors.ts";
|
||||
export { parse } from "https://deno.land/std@0.128.0/flags/mod.ts";
|
||||
export { gte } from "https://deno.land/x/semver@v1.4.0/mod.ts";
|
||||
} from "https://deno.land/std@0.150.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.150.0/fs/walk.ts";
|
||||
export { parse } from "https://deno.land/std@0.150.0/flags/mod.ts";
|
||||
export { gte } from "https://deno.land/std@0.150.0/semver/mod.ts";
|
||||
|
||||
+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