summaryrefslogtreecommitdiff
path: root/cli/lib.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-02-25 14:42:00 -0500
committerGitHub <noreply@github.com>2020-02-25 20:42:00 +0100
commitf47f3f96726a94dd2df5d68e3c786b5079089dd4 (patch)
tree1cad805473cc1b89d19d791f4f03011071d528eb /cli/lib.rs
parentfe181e2b4850a83344f0aa5840fffe97c8cb8839 (diff)
Remove _async from method names since _sync are gone (#4128)
Diffstat (limited to 'cli/lib.rs')
-rw-r--r--cli/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/lib.rs b/cli/lib.rs
index 33844baef..3de40e1cd 100644
--- a/cli/lib.rs
+++ b/cli/lib.rs
@@ -152,7 +152,7 @@ async fn print_file_info(
let out = global_state
.file_fetcher
- .fetch_source_file_async(&module_specifier, None)
+ .fetch_source_file(&module_specifier, None)
.await?;
println!(
@@ -303,12 +303,12 @@ async fn bundle_command(
) -> Result<(), ErrBox> {
let module_name = ModuleSpecifier::resolve_url_or_path(&source_file)?;
let global_state = GlobalState::new(flags)?;
- debug!(">>>>> bundle_async START");
+ debug!(">>>>> bundle START");
let bundle_result = global_state
.ts_compiler
- .bundle_async(global_state.clone(), module_name.to_string(), out_file)
+ .bundle(global_state.clone(), module_name.to_string(), out_file)
.await;
- debug!(">>>>> bundle_async END");
+ debug!(">>>>> bundle END");
bundle_result
}