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/web_worker.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/web_worker.rs')
-rw-r--r-- | cli/ops/web_worker.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/web_worker.rs b/cli/ops/web_worker.rs index 42b6a56ce..d88330a04 100644 --- a/cli/ops/web_worker.rs +++ b/cli/ops/web_worker.rs @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -use crate::worker::WebWorkerHandle; -use crate::worker::WorkerEvent; +use crate::web_worker::WebWorkerHandle; +use crate::web_worker::WorkerEvent; use deno_core::futures::channel::mpsc; use deno_core::serde_json::json; |