summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-06-20 17:59:52 -0400
committerGitHub <noreply@github.com>2022-06-20 17:59:52 -0400
commita7339f756c5f871026ab080e849d3dd37f2ca124 (patch)
tree900d033db951a5e43d67b0ab0cc582fe3cc23b1a /cli/main.rs
parenta7a64438e2cb054700cb35936c941b7444b8bd2d (diff)
refactor: add `EmitCache` trait (#14925)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 1f545d51f..471afdffd 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -719,7 +719,7 @@ async fn create_graph_and_maybe_check(
let check_result = emit::check_and_maybe_emit(
&graph.roots,
Arc::new(RwLock::new(graph.as_ref().into())),
- &mut cache,
+ &ps.dir.gen_cache,
emit::CheckOptions {
type_check_mode: ps.flags.type_check_mode.clone(),
debug,