summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-05-13 17:12:07 +0200
committerfxqnlr <[email protected]>2023-05-13 17:12:07 +0200
commit3b9d717ecd61bd2b5c32ec117f38c7d67a109748 (patch)
treedb2aaedda9678465763993eeec15bd20673394e8
parent3181da20e001146653a09f0734e0340b043d9b4b (diff)
downloadmodlist-3b9d717ecd61bd2b5c32ec117f38c7d67a109748.tar
modlist-3b9d717ecd61bd2b5c32ec117f38c7d67a109748.tar.gz
modlist-3b9d717ecd61bd2b5c32ec117f38c7d67a109748.zip
minimally better logging
-rw-r--r--src/commands/update.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/update.rs b/src/commands/update.rs
index 2128090..d3a282b 100644
--- a/src/commands/update.rs
+++ b/src/commands/update.rs
@@ -27,10 +27,10 @@ pub async fn update(
27 27
28 for id in mods { 28 for id in mods {
29 let info = mods_get_info(config.clone(), &id)?; 29 let info = mods_get_info(config.clone(), &id)?;
30 println!(" �{}", info.title); 30 println!(" �{}", info.title);
31 31
32 if userlist_get_set_version(config.clone(), &current_list.id, &id)? { 32 if userlist_get_set_version(config.clone(), &current_list.id, &id)? {
33 println!(" └Set version, skipping update"); 33 println!(" └Set version, skipping update");
34 continue; 34 continue;
35 } 35 }
36 36
@@ -54,7 +54,7 @@ pub async fn update(
54 Err(e) => { 54 Err(e) => {
55 if e.to_string() == "Mod: NO_UPDATE_AVAILABLE" { 55 if e.to_string() == "Mod: NO_UPDATE_AVAILABLE" {
56 println!( 56 println!(
57 " └No new version found for the specified minecraft version" 57 " └No new version found for the specified minecraft version"
58 ); 58 );
59 } else { 59 } else {
60 return Err(e); 60 return Err(e);