diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-06-20 17:59:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-20 17:59:52 -0400 |
commit | a7339f756c5f871026ab080e849d3dd37f2ca124 (patch) | |
tree | 900d033db951a5e43d67b0ab0cc582fe3cc23b1a /cli/lsp/cache.rs | |
parent | a7a64438e2cb054700cb35936c941b7444b8bd2d (diff) |
refactor: add `EmitCache` trait (#14925)
Diffstat (limited to 'cli/lsp/cache.rs')
-rw-r--r-- | cli/lsp/cache.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/lsp/cache.rs b/cli/lsp/cache.rs index bdf9db607..249177a64 100644 --- a/cli/lsp/cache.rs +++ b/cli/lsp/cache.rs @@ -1,6 +1,5 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. -use crate::cache::CacherLoader; use crate::cache::FetchCacher; use crate::config_file::ConfigFile; use crate::flags::Flags; @@ -87,7 +86,7 @@ impl CacheServer { roots, false, maybe_imports.clone(), - cache.as_mut_loader(), + &mut cache, maybe_resolver, None, None, |