summaryrefslogtreecommitdiff
path: root/src/deno_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/deno_dir.rs')
-rw-r--r--src/deno_dir.rs4
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(()),