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/worker.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/worker.rs')
-rw-r--r-- | cli/worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 1c4c6475a..d36639821 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -11,6 +11,7 @@ use deno_core::Extension; use deno_core::ModuleId; use deno_graph::source::ResolveResponse; use deno_runtime::colors; +use deno_runtime::fmt_errors::format_js_error; use deno_runtime::ops::worker_host::CreateWebWorkerCb; use deno_runtime::ops::worker_host::WorkerEventCb; use deno_runtime::permissions::Permissions; @@ -24,7 +25,6 @@ use crate::args::DenoSubcommand; use crate::checksum; use crate::compat; use crate::errors; -use crate::fmt_errors::format_js_error; use crate::module_loader::CliModuleLoader; use crate::node; use crate::npm::NpmPackageReference; |