diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-11-03 06:41:20 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 06:41:20 +1100 |
commit | d672e1405dd7085a060625fc320d063f7f7970a2 (patch) | |
tree | b48793a452a4dc1df2dd048a74b9485b6fc9a775 /cli/ops/runtime_compiler.rs | |
parent | 40cd4db974465518583af30a64849e5d152e0b34 (diff) |
refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220)
Diffstat (limited to 'cli/ops/runtime_compiler.rs')
-rw-r--r-- | cli/ops/runtime_compiler.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/ops/runtime_compiler.rs b/cli/ops/runtime_compiler.rs index 02d093375..f47f2fdb3 100644 --- a/cli/ops/runtime_compiler.rs +++ b/cli/ops/runtime_compiler.rs @@ -3,9 +3,9 @@ use crate::ast; use crate::colors; use crate::media_type::MediaType; -use crate::module_graph2::BundleType; -use crate::module_graph2::EmitOptions; -use crate::module_graph2::GraphBuilder2; +use crate::module_graph::BundleType; +use crate::module_graph::EmitOptions; +use crate::module_graph::GraphBuilder; use crate::permissions::Permissions; use crate::specifier_handler::FetchHandler; use crate::specifier_handler::MemoryHandler; @@ -65,7 +65,7 @@ async fn op_compile( runtime_permissions, )?)) }; - let mut builder = GraphBuilder2::new(handler, None, None); + let mut builder = GraphBuilder::new(handler, None, None); let specifier = ModuleSpecifier::resolve_url_or_path(&args.root_name) .context("The root specifier is invalid.")?; builder.add(&specifier, false).await?; |