diff options
Diffstat (limited to 'cli/tools')
-rw-r--r-- | cli/tools/coverage/mod.rs | 1 | ||||
-rw-r--r-- | cli/tools/fmt.rs | 1 | ||||
-rw-r--r-- | cli/tools/info.rs | 3 | ||||
-rw-r--r-- | cli/tools/lint.rs | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/cli/tools/coverage/mod.rs b/cli/tools/coverage/mod.rs index c872623b8..4e49053d2 100644 --- a/cli/tools/coverage/mod.rs +++ b/cli/tools/coverage/mod.rs @@ -571,6 +571,7 @@ fn collect_coverages( }) .ignore_git_folder() .ignore_node_modules() + .ignore_deno_modules() .add_ignore_paths(&files.ignore) .collect_files(&files.include)?; diff --git a/cli/tools/fmt.rs b/cli/tools/fmt.rs index e296ddab9..e7fdf24f7 100644 --- a/cli/tools/fmt.rs +++ b/cli/tools/fmt.rs @@ -151,6 +151,7 @@ fn collect_fmt_files(files: &FilesConfig) -> Result<Vec<PathBuf>, AnyError> { FileCollector::new(is_supported_ext_fmt) .ignore_git_folder() .ignore_node_modules() + .ignore_deno_modules() .add_ignore_paths(&files.exclude) .collect_files(&files.include) } diff --git a/cli/tools/info.rs b/cli/tools/info.rs index 2262f1423..08345887b 100644 --- a/cli/tools/info.rs +++ b/cli/tools/info.rs @@ -95,7 +95,8 @@ fn print_cache_info( location: Option<&deno_core::url::Url>, ) -> Result<(), AnyError> { let dir = factory.deno_dir()?; - let modules_cache = factory.file_fetcher()?.get_http_cache_location(); + #[allow(deprecated)] + let modules_cache = factory.global_http_cache()?.get_global_cache_location(); let npm_cache = factory.npm_cache()?.as_readonly().get_cache_location(); let typescript_cache = &dir.gen_cache.location; let registry_cache = dir.registries_folder_path(); diff --git a/cli/tools/lint.rs b/cli/tools/lint.rs index f5e9db6e9..a1aca2803 100644 --- a/cli/tools/lint.rs +++ b/cli/tools/lint.rs @@ -198,6 +198,7 @@ fn collect_lint_files(files: &FilesConfig) -> Result<Vec<PathBuf>, AnyError> { FileCollector::new(is_supported_ext) .ignore_git_folder() .ignore_node_modules() + .ignore_deno_modules() .add_ignore_paths(&files.exclude) .collect_files(&files.include) } |