diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-02-25 14:42:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-25 20:42:00 +0100 |
commit | f47f3f96726a94dd2df5d68e3c786b5079089dd4 (patch) | |
tree | 1cad805473cc1b89d19d791f4f03011071d528eb /cli/ops/compiler.rs | |
parent | fe181e2b4850a83344f0aa5840fffe97c8cb8839 (diff) |
Remove _async from method names since _sync are gone (#4128)
Diffstat (limited to 'cli/ops/compiler.rs')
-rw-r--r-- | cli/ops/compiler.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/ops/compiler.rs b/cli/ops/compiler.rs index 015c77c4e..9e8895519 100644 --- a/cli/ops/compiler.rs +++ b/cli/ops/compiler.rs @@ -112,7 +112,7 @@ fn op_fetch_source_files( let resolved_specifier = ModuleSpecifier::resolve_url(&specifier) .expect("Invalid specifier"); file_fetcher_ - .fetch_source_file_async(&resolved_specifier, ref_specifier_) + .fetch_source_file(&resolved_specifier, ref_specifier_) .await } .boxed_local() @@ -130,7 +130,7 @@ fn op_fetch_source_files( let types_specifier = ModuleSpecifier::from(types_url); global_state .file_fetcher - .fetch_source_file_async(&types_specifier, ref_specifier.clone()) + .fetch_source_file(&types_specifier, ref_specifier.clone()) .await .map_err(OpError::from)? } @@ -143,7 +143,7 @@ fn op_fetch_source_files( msg::MediaType::Wasm => { global_state .wasm_compiler - .compile_async(global_state.clone(), &file) + .compile(global_state.clone(), &file) .await .map_err(|e| OpError::other(e.to_string()))? .code |