From c497e766f1a136c674d8be2467eb103c85fe1d44 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 18 Apr 2024 21:43:28 -0400 Subject: refactor: move redirect handling into deno_graph (#23444) --- cli/npm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/npm/mod.rs') diff --git a/cli/npm/mod.rs b/cli/npm/mod.rs index c17918c67..8de803ce4 100644 --- a/cli/npm/mod.rs +++ b/cli/npm/mod.rs @@ -142,7 +142,7 @@ impl NpmFetchResolver { let info_url = npm_registry_url().join(name).ok()?; let file = self .file_fetcher - .fetch(&info_url, PermissionsContainer::allow_all()) + .fetch(&info_url, &PermissionsContainer::allow_all()) .await .ok()?; serde_json::from_slice::(&file.source).ok() -- cgit v1.2.3