From a7339f756c5f871026ab080e849d3dd37f2ca124 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 20 Jun 2022 17:59:52 -0400 Subject: refactor: add `EmitCache` trait (#14925) --- cli/lsp/cache.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/lsp') 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, -- cgit v1.2.3