summaryrefslogtreecommitdiff
path: root/src/commands/download.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-02-19 11:49:23 +0100
committerfxqnlr <[email protected]>2023-02-19 11:49:23 +0100
commit9c984cef9a2d0fb223635617934959480e8ca2df (patch)
tree4e9bcae11b2f028822591ea2948e311dded2de10 /src/commands/download.rs
parentff23a11e632812b685f594324e6004c6da81cd4d (diff)
downloadmodlist-9c984cef9a2d0fb223635617934959480e8ca2df.tar
modlist-9c984cef9a2d0fb223635617934959480e8ca2df.tar.gz
modlist-9c984cef9a2d0fb223635617934959480e8ca2df.zip
Added adding of specific mod-version
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 }