mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
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:
parent
778e4c9710
commit
585cf2de89
11 changed files with 844 additions and 3 deletions
2
cli/cache/mod.rs
vendored
2
cli/cache/mod.rs
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue