summaryrefslogtreecommitdiff
path: root/cli/proc_state.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-07-12 22:44:15 -0400
committerGitHub <noreply@github.com>2022-07-12 22:44:15 -0400
commit698eeb90fd907d19d9366f07967a01f97daba74a (patch)
tree8ed77efc87f9974154b11cf1b626c32e9a979514 /cli/proc_state.rs
parent61340f1d89f0a02feb8ad6a6bf481fe6ff5f56df (diff)
fix: fallback to no type checking cache when db file can't be created (#15180)
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r--cli/proc_state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs
index 75630e47b..fac2b2418 100644
--- a/cli/proc_state.rs
+++ b/cli/proc_state.rs
@@ -443,7 +443,7 @@ impl ProcState {
};
// todo(THIS PR): don't use a cache on failure
let check_cache =
- TypeCheckCache::new(&self.dir.type_checking_cache_db_file_path())?;
+ TypeCheckCache::new(&self.dir.type_checking_cache_db_file_path());
let graph_data = self.graph_data.clone();
Some(tokio::task::spawn_blocking(move || {
emit::check(&roots, graph_data, &check_cache, options)