From 842e29057d6e545c6b498c584a5366fff34f6aa7 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 25 Oct 2023 18:13:22 -0400 Subject: refactor: break out ModuleInfoCache from ParsedSourceCache (#20977) As title. This will help use the two independently from the other, which will help in an upcoming deno doc PR where I need to parse the source files with scope analysis. --- cli/tools/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tools/compile.rs') diff --git a/cli/tools/compile.rs b/cli/tools/compile.rs index d925b0ea3..ebba884cd 100644 --- a/cli/tools/compile.rs +++ b/cli/tools/compile.rs @@ -25,7 +25,7 @@ pub async fn compile( let factory = CliFactory::from_flags(flags).await?; let cli_options = factory.cli_options(); let module_graph_builder = factory.module_graph_builder().await?; - let parsed_source_cache = factory.parsed_source_cache()?; + let parsed_source_cache = factory.parsed_source_cache(); let binary_writer = factory.create_compile_binary_writer().await?; let module_specifier = cli_options.resolve_main_module()?; let module_roots = { -- cgit v1.2.3