summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index 5dc7d17d6..8ea48702a 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -224,7 +224,7 @@ pub async fn create_graph_and_maybe_check(
log::warn!("{}", ignored_options);
}
let maybe_config_specifier = ps.options.maybe_config_file_specifier();
- let cache = TypeCheckCache::new(&ps.dir.type_checking_cache_db_file_path());
+ let cache = TypeCheckCache::new(ps.caches.type_checking_cache_db(&ps.dir));
let check_result = check::check(
graph.clone(),
&cache,