summaryrefslogtreecommitdiff
path: root/cli/cache
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2024-02-14 18:30:44 +0000
committerGitHub <noreply@github.com>2024-02-14 18:30:44 +0000
commit012a9d8aebd39cd215d404fe75c3ee22b040689e (patch)
treec40c20a514dd790393742bbeb6bddc72b3046ad0 /cli/cache
parentb5d122de32d075bc0a5b07ad18e9bcc1d2c07396 (diff)
chore: rename DENO_REGISTRY_URL to JSR_URL (#22414)
Diffstat (limited to 'cli/cache')
-rw-r--r--cli/cache/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cache/mod.rs b/cli/cache/mod.rs
index fc6421056..6c48799ce 100644
--- a/cli/cache/mod.rs
+++ b/cli/cache/mod.rs
@@ -1,6 +1,6 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-use crate::args::deno_registry_url;
+use crate::args::jsr_url;
use crate::args::CacheSetting;
use crate::errors::get_error_class_name;
use crate::file_fetcher::FetchOptions;
@@ -168,7 +168,7 @@ impl FetchCacher {
impl Loader for FetchCacher {
fn registry_url(&self) -> &Url {
- deno_registry_url()
+ jsr_url()
}
fn get_cache_info(&self, specifier: &ModuleSpecifier) -> Option<CacheInfo> {