From e7f18d64686e2b94fe9ecba8106ca2ff5bdfe7f3 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Sun, 11 Apr 2021 14:09:10 +0200 Subject: feat: blob URL support in fetch (#10120) This commit adds blob URL support in `fetch`. Tested via WPT. This is the first op_crate to have a rust dependency on a different op_crate. --- cli/file_fetcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/file_fetcher.rs') diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs index 3e4332b24..187ac05dc 100644 --- a/cli/file_fetcher.rs +++ b/cli/file_fetcher.rs @@ -475,7 +475,7 @@ impl FileFetcher { } let blob_url_storage = self.blob_url_store.borrow(); - let blob = blob_url_storage.get(specifier)?.ok_or_else(|| { + let blob = blob_url_storage.get(specifier.clone())?.ok_or_else(|| { custom_error( "NotFound", format!("Blob URL not found: \"{}\".", specifier), -- cgit v1.2.3