From bdc97b3976786bb744a27e59b0f4f28554a682df Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 21 Aug 2019 20:42:48 -0400 Subject: Organize dispatch a bit (#2796) Just some clean up reorganization around flatbuffer/minimal dispatch code. This is prep for adding a JSON dispatcher. --- cli/ops/compiler.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cli/ops/compiler.rs') diff --git a/cli/ops/compiler.rs b/cli/ops/compiler.rs index 8d75668c1..efdcd2c9b 100644 --- a/cli/ops/compiler.rs +++ b/cli/ops/compiler.rs @@ -1,10 +1,8 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +use super::dispatch_flatbuffers::serialize_response; +use super::utils::*; use crate::deno_error; use crate::msg; -use crate::ops::empty_buf; -use crate::ops::ok_buf; -use crate::ops::serialize_response; -use crate::ops::CliOpResult; use crate::state::ThreadSafeState; use crate::tokio_util; use deno::*; -- cgit v1.2.3