summaryrefslogtreecommitdiff
path: root/cli/cache/mod.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-11-24 00:38:07 +0100
committerGitHub <noreply@github.com>2023-11-23 23:38:07 +0000
commit585cf2de89f1d253bc14e0835790445d14e324f3 (patch)
tree901234e85d502d960c0cb3126367ca78d17b3225 /cli/cache/mod.rs
parent778e4c971077e38bf8f7d03b8b299d3dd111ba22 (diff)
feat(unstable): tar up directory with deno.json (#21228)
Co-authored-by: David Sherret <dsherret@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Luca Casonato <hello@lcas.dev>
Diffstat (limited to 'cli/cache/mod.rs')
-rw-r--r--cli/cache/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cache/mod.rs b/cli/cache/mod.rs
index 526236ace..81c126098 100644
--- a/cli/cache/mod.rs
+++ b/cli/cache/mod.rs
@@ -165,7 +165,7 @@ impl FetchCacher {
}
}
-static DENO_REGISTRY_URL: Lazy<Url> = Lazy::new(|| {
+pub(crate) static DENO_REGISTRY_URL: Lazy<Url> = Lazy::new(|| {
let env_var_name = "DENO_REGISTRY_URL";
if let Ok(registry_url) = std::env::var(env_var_name) {
// ensure there is a trailing slash for the directory