summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-04-11 14:09:10 +0200
committerGitHub <noreply@github.com>2021-04-11 14:09:10 +0200
commite7f18d64686e2b94fe9ecba8106ca2ff5bdfe7f3 (patch)
tree4faeba935b1cd64e627b4dd7ba44e6d6b0c84be2 /cli/file_fetcher.rs
parentf5a9474952f459a5095e0aae68e0984fdd84b210 (diff)
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.
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs2
1 files changed, 1 insertions, 1 deletions
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),