diff options
author | Christian Dürr <102963075+cd-work@users.noreply.github.com> | 2022-09-02 20:53:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 22:53:23 +0200 |
commit | 63b8089bda8c88413bfad24aef415abc09e8d5c2 (patch) | |
tree | b27b798ee77e75b36c487a19edd22e658fe76984 /cli/file_watcher.rs | |
parent | 4f8dea100e751d550a4a40d11b142fc9a7c4a5a8 (diff) |
refactor: move JsError formatting to deno_runtime (#15345)
This takes the existing `fmt_error` module from cli and puts it as a
public module into `deno_runtime`.
Diffstat (limited to 'cli/file_watcher.rs')
-rw-r--r-- | cli/file_watcher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/file_watcher.rs b/cli/file_watcher.rs index c5a92e5bf..6c8a142a6 100644 --- a/cli/file_watcher.rs +++ b/cli/file_watcher.rs @@ -1,12 +1,12 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. use crate::colors; -use crate::fmt_errors::format_js_error; use crate::fs_util::canonicalize_path; use deno_core::error::AnyError; use deno_core::error::JsError; use deno_core::futures::Future; +use deno_runtime::fmt_errors::format_js_error; use log::info; use notify::event::Event as NotifyEvent; use notify::event::EventKind; |