summaryrefslogtreecommitdiff
path: root/cli/disk_cache.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-02-15 20:32:06 +1100
committerGitHub <noreply@github.com>2021-02-15 20:32:06 +1100
commit64a1da84fe8eb159f83afe62254dac9e87e1f831 (patch)
treeaaa7535540ca131e6a0d1f54b821b6afba78941e /cli/disk_cache.rs
parent5873adeb5e6ec2113eeb5adc964b7ce129d4905d (diff)
fix(lsp): handle cached type dependencies properly (#9500)
Diffstat (limited to 'cli/disk_cache.rs')
-rw-r--r--cli/disk_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/disk_cache.rs b/cli/disk_cache.rs
index 2b530cae2..2f2cc9e4f 100644
--- a/cli/disk_cache.rs
+++ b/cli/disk_cache.rs
@@ -67,7 +67,7 @@ impl DiskCache {
out.push(path_seg);
}
}
- "http" | "https" | "data" => out = url_to_filename(url),
+ "http" | "https" | "data" => out = url_to_filename(url)?,
"file" => {
let path = match url.to_file_path() {
Ok(path) => path,