From 83d72e5c1c0b983f4b63f3f64f9a1de7600985f4 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 7 Feb 2024 11:25:14 -0500 Subject: refactor: extract out `runtime::colors` to `deno_terminal::colors` (#22324) --- runtime/fmt_errors.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime/fmt_errors.rs') diff --git a/runtime/fmt_errors.rs b/runtime/fmt_errors.rs index 6ec63c007..af7d76051 100644 --- a/runtime/fmt_errors.rs +++ b/runtime/fmt_errors.rs @@ -1,12 +1,12 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. //! This mod provides DenoError to unify errors across Deno. -use crate::colors::cyan; -use crate::colors::italic_bold; -use crate::colors::red; -use crate::colors::yellow; use deno_core::error::format_file_name; use deno_core::error::JsError; use deno_core::error::JsStackFrame; +use deno_terminal::colors::cyan; +use deno_terminal::colors::italic_bold; +use deno_terminal::colors::red; +use deno_terminal::colors::yellow; use std::fmt::Write as _; #[derive(Debug, Clone)] -- cgit v1.2.3