From 43d10a558b72ef4a079358521d22447d095e0097 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 9 Jul 2024 17:07:16 -0400 Subject: fix: do not download compilerOptions -> types when not type checking (#24473) Closes https://github.com/denoland/deno/issues/22738 --- cli/args/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cli/args') diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 04a011196..e0eff6171 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -1301,9 +1301,7 @@ impl CliOptions { self.maybe_lockfile.clone() } - /// Return any imports that should be brought into the scope of the module - /// graph. - pub fn to_maybe_imports( + pub fn to_compiler_option_types( &self, ) -> Result, AnyError> { self.workspace.to_maybe_imports().map(|maybe_imports| { -- cgit v1.2.3