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>
This commit is contained in:
Bartek Iwańczuk 2023-11-24 00:38:07 +01:00 committed by GitHub
parent 778e4c9710
commit 585cf2de89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 844 additions and 3 deletions

2
cli/cache/mod.rs vendored
View file

@ -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