diff options
Diffstat (limited to 'cli/global_state.rs')
-rw-r--r-- | cli/global_state.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/global_state.rs b/cli/global_state.rs index a682e8de2..dbea5f827 100644 --- a/cli/global_state.rs +++ b/cli/global_state.rs @@ -54,7 +54,8 @@ impl GlobalState { let custom_root = env::var("DENO_DIR").map(String::into).ok(); let dir = deno_dir::DenoDir::new(custom_root)?; let deps_cache_location = dir.root.join("deps"); - let http_cache = http_cache::HttpCache::new(&deps_cache_location)?; + let http_cache = http_cache::HttpCache::new(&deps_cache_location); + http_cache.ensure_location()?; let file_fetcher = SourceFileFetcher::new( http_cache, |