summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-08-21 20:42:48 -0400
committerGitHub <noreply@github.com>2019-08-21 20:42:48 -0400
commitbdc97b3976786bb744a27e59b0f4f28554a682df (patch)
treebf4635ad903de542c10620e95adb72eee03d9204 /cli/worker.rs
parentb764d1b8ffc4bf5e2ab89bdbd978d708a6da0f24 (diff)
Organize dispatch a bit (#2796)
Just some clean up reorganization around flatbuffer/minimal dispatch code. This is prep for adding a JSON dispatcher.
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index f639c3d6d..cb551453a 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -123,7 +123,6 @@ impl Future for Worker {
mod tests {
use super::*;
use crate::flags;
- use crate::ops::op_selector_std;
use crate::progress::Progress;
use crate::resources;
use crate::startup_data;
@@ -140,7 +139,6 @@ mod tests {
let state = ThreadSafeState::new(
flags::DenoFlags::default(),
argv,
- op_selector_std,
Progress::new(),
true,
)
@@ -170,7 +168,6 @@ mod tests {
let state = ThreadSafeState::new(
flags::DenoFlags::default(),
argv,
- op_selector_std,
Progress::new(),
true,
)
@@ -200,8 +197,7 @@ mod tests {
let mut flags = flags::DenoFlags::default();
flags.reload = true;
let state =
- ThreadSafeState::new(flags, argv, op_selector_std, Progress::new(), true)
- .unwrap();
+ ThreadSafeState::new(flags, argv, Progress::new(), true).unwrap();
let state_ = state.clone();
tokio_util::run(lazy(move || {
let mut worker = Worker::new(