diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-02-07 11:25:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 11:25:14 -0500 |
commit | 83d72e5c1c0b983f4b63f3f64f9a1de7600985f4 (patch) | |
tree | 49dfd980df2fce512fa13c3650d1c45a3e500a51 /runtime/fmt_errors.rs | |
parent | a32e7f0eb23fa17f5af2fc4c8abfd79762934244 (diff) |
refactor: extract out `runtime::colors` to `deno_terminal::colors` (#22324)
Diffstat (limited to 'runtime/fmt_errors.rs')
-rw-r--r-- | runtime/fmt_errors.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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)] |