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/tools | |
parent | a7a64438e2cb054700cb35936c941b7444b8bd2d (diff) |
refactor: add `EmitCache` trait (#14925)
Diffstat (limited to 'cli/tools')
-rw-r--r-- | cli/tools/bench.rs | 3 | ||||
-rw-r--r-- | cli/tools/test.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/cli/tools/bench.rs b/cli/tools/bench.rs index d9e9c38c3..e88151648 100644 --- a/cli/tools/bench.rs +++ b/cli/tools/bench.rs @@ -1,7 +1,6 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. use crate::cache; -use crate::cache::CacherLoader; use crate::colors; use crate::compat; use crate::create_main_worker; @@ -632,7 +631,7 @@ pub async fn run_benchmarks_with_watch( .collect(), false, maybe_imports, - cache.as_mut_loader(), + &mut cache, maybe_resolver, maybe_locker, None, diff --git a/cli/tools/test.rs b/cli/tools/test.rs index ef4d35cce..170c1a12d 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -1,7 +1,6 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. use crate::cache; -use crate::cache::CacherLoader; use crate::colors; use crate::compat; use crate::create_main_worker; @@ -1453,7 +1452,7 @@ pub async fn run_tests_with_watch( .collect(), false, maybe_imports, - cache.as_mut_loader(), + &mut cache, maybe_resolver, maybe_locker, None, |