summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 4ed44c9bd..fbbfc77d2 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -661,9 +661,7 @@ async fn create_graph_and_maybe_check(
eprintln!("{}", ignored_options);
}
let maybe_config_specifier = ps.options.maybe_config_file_specifier();
- // todo: don't use anything on failure
- let cache =
- TypeCheckCache::new(&ps.dir.type_checking_cache_db_file_path())?;
+ let cache = TypeCheckCache::new(&ps.dir.type_checking_cache_db_file_path());
let check_result = emit::check(
&graph.roots,
Arc::new(RwLock::new(graph.as_ref().into())),