diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-10 13:35:10 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-10 14:29:55 -0400 |
commit | 417ea7bb6d14ea18b9b4caefe1f4ca2b12216d3e (patch) | |
tree | 95c8bde38d91d200c0e6f992c82127cd1db6b5bd /src/deno_dir.rs | |
parent | c99207bf3976bfd3c5c3ef91d782c86f933977e6 (diff) |
src/http.rs -> src/http_util.rs
So as not to conflict with http crate.
Diffstat (limited to 'src/deno_dir.rs')
-rw-r--r-- | src/deno_dir.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deno_dir.rs b/src/deno_dir.rs index 1e369b40f..e8cc86b18 100644 --- a/src/deno_dir.rs +++ b/src/deno_dir.rs @@ -4,7 +4,7 @@ use errors::DenoError; use errors::DenoResult; use errors::ErrorKind; use fs as deno_fs; -use http; +use http_util; use ring; use std; use std::fmt::Write; @@ -114,7 +114,7 @@ impl DenoDir { let src = if self.reload || !p.exists() { println!("Downloading {}", module_name); - let source = http::fetch_sync_string(module_name)?; + let source = http_util::fetch_sync_string(module_name)?; match p.parent() { Some(ref parent) => fs::create_dir_all(parent), None => Ok(()), |