summaryrefslogtreecommitdiff
path: root/cli/deno_dir.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/deno_dir.rs')
-rw-r--r--cli/deno_dir.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/deno_dir.rs b/cli/deno_dir.rs
index 8695b0578..324aa0e32 100644
--- a/cli/deno_dir.rs
+++ b/cli/deno_dir.rs
@@ -647,9 +647,7 @@ fn fetch_remote_source_async(
) -> impl Future<Item = Option<ModuleMetaData>, Error = DenoError> {
use crate::http_util::FetchOnceResult;
- let download_job = deno_dir
- .progress
- .add(format!("Downloading {}", module_name));
+ let download_job = deno_dir.progress.add("Download", module_name);
let module_name = module_name.to_owned();
let filepath = filepath.to_owned();