diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-04-18 21:43:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 01:43:28 +0000 |
commit | c497e766f1a136c674d8be2467eb103c85fe1d44 (patch) | |
tree | a6b84f9950f2bdca734d8d402b60d44f99605965 /cli/lsp/npm.rs | |
parent | 8e77f091ad9b1f8b3dc2eaf8b4a2be2560a67354 (diff) |
refactor: move redirect handling into deno_graph (#23444)
Diffstat (limited to 'cli/lsp/npm.rs')
-rw-r--r-- | cli/lsp/npm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/npm.rs b/cli/lsp/npm.rs index 33cf48675..830aaed95 100644 --- a/cli/lsp/npm.rs +++ b/cli/lsp/npm.rs @@ -48,7 +48,7 @@ impl PackageSearchApi for CliNpmSearchApi { .append_pair("text", &format!("{} boost-exact:false", query)); let file = self .file_fetcher - .fetch(&search_url, PermissionsContainer::allow_all()) + .fetch(&search_url, &PermissionsContainer::allow_all()) .await? .into_text_decoded()?; let names = Arc::new(parse_npm_search_response(&file.source)?); |