diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-26 15:17:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 15:17:45 +0100 |
commit | 85a5a081b2843aca38d75a4ed8400ed354aaa7ce (patch) | |
tree | 73811415e3bc47bed6fc60827a7b08bf3e12ade2 /cli/ops/worker_host.rs | |
parent | 8d0b1b40f5dc9608166f20e0346e37daf0926fdc (diff) |
refactor(cli): reorganize main.rs and split workers (#8495)
Factored out "init_v8_flags", "init_logger" and
"get_subcommand" from "main" function.
Also "Worker" was removed in favor of moving
logic to "MainWorker" and "WebWorker" respectively.
Diffstat (limited to 'cli/ops/worker_host.rs')
-rw-r--r-- | cli/ops/worker_host.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs index f2e936ef2..c464e6df2 100644 --- a/cli/ops/worker_host.rs +++ b/cli/ops/worker_host.rs @@ -5,9 +5,9 @@ use crate::ops::io::get_stdio; use crate::permissions::Permissions; use crate::program_state::ProgramState; use crate::tokio_util::create_basic_runtime; -use crate::worker::WebWorker; -use crate::worker::WebWorkerHandle; -use crate::worker::WorkerEvent; +use crate::web_worker::WebWorker; +use crate::web_worker::WebWorkerHandle; +use crate::web_worker::WorkerEvent; use deno_core::error::generic_error; use deno_core::error::AnyError; use deno_core::error::JsError; |