diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-07-12 22:44:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 22:44:15 -0400 |
commit | 698eeb90fd907d19d9366f07967a01f97daba74a (patch) | |
tree | 8ed77efc87f9974154b11cf1b626c32e9a979514 /cli/proc_state.rs | |
parent | 61340f1d89f0a02feb8ad6a6bf481fe6ff5f56df (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.rs | 2 |
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) |