summaryrefslogtreecommitdiff
path: root/cli/global_state.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-24 19:20:40 +0200
committerGitHub <noreply@github.com>2020-05-24 19:20:40 +0200
commite934df5f7dd7ebc52e8c74033d478c88fa638224 (patch)
tree8eeff6de80b6fc533db94d1a03eed3fcf9793c38 /cli/global_state.rs
parent4ca0d6e2d37ce2be029269be498c76922e30944b (diff)
fix: create HTTP cache lazily (#5795)
Diffstat (limited to 'cli/global_state.rs')
-rw-r--r--cli/global_state.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/global_state.rs b/cli/global_state.rs
index 90961ed62..8bd01f438 100644
--- a/cli/global_state.rs
+++ b/cli/global_state.rs
@@ -51,7 +51,6 @@ impl GlobalState {
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);
- http_cache.ensure_location()?;
let file_fetcher = SourceFileFetcher::new(
http_cache,