From f47f3f96726a94dd2df5d68e3c786b5079089dd4 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 25 Feb 2020 14:42:00 -0500 Subject: Remove _async from method names since _sync are gone (#4128) --- cli/ops/runtime_compiler.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/ops/runtime_compiler.rs') diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index 056056746..87702b7ad 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.rs @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. use super::dispatch_json::{Deserialize, JsonOp, Value}; -use crate::compilers::runtime_compile_async; -use crate::compilers::runtime_transpile_async; +use crate::compilers::runtime_compile; +use crate::compilers::runtime_transpile; use crate::op_error::OpError; use crate::state::State; use deno_core::*; @@ -27,7 +27,7 @@ fn op_compile( _zero_copy: Option, ) -> Result { let args: CompileArgs = serde_json::from_value(args)?; - Ok(JsonOp::Async(runtime_compile_async( + Ok(JsonOp::Async(runtime_compile( state.borrow().global_state.clone(), &args.root_name, &args.sources, @@ -48,7 +48,7 @@ fn op_transpile( _zero_copy: Option, ) -> Result { let args: TranspileArgs = serde_json::from_value(args)?; - Ok(JsonOp::Async(runtime_transpile_async( + Ok(JsonOp::Async(runtime_transpile( state.borrow().global_state.clone(), &args.sources, &args.options, -- cgit v1.2.3