summaryrefslogtreecommitdiff
path: root/src/commands/download.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/download.rs')
-rw-r--r--src/commands/download.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/download.rs b/src/commands/download.rs
index 7748d15..2714630 100644
--- a/src/commands/download.rs
+++ b/src/commands/download.rs
@@ -47,7 +47,7 @@ pub async fn download(config: Cfg, input: Input) -> MLE<()> {
47 if input.clean { clean_list_dir(&current_list)? }; 47 if input.clean { clean_list_dir(&current_list)? };
48 48
49 if !to_download.is_empty() { 49 if !to_download.is_empty() {
50 download_versions(current_list.clone(), config.clone(), get_raw_versions(String::from(&config.apis.modrinth), to_download).await).await?; 50 download_versions(current_list.clone(), config.clone(), get_raw_versions(&config.apis.modrinth, to_download).await).await?;
51 } else { 51 } else {
52 println!("There are no new versions to download"); 52 println!("There are no new versions to download");
53 } 53 }