summaryrefslogtreecommitdiff
path: root/src/commands/update.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2022-12-18 23:11:50 +0100
committerfxqnlr <[email protected]>2022-12-18 23:11:50 +0100
commit28706f6edf10a135a67334d7035948bab4064bef (patch)
tree64ce9c6aa58167e0b9ffbca968c1aaab224cea73 /src/commands/update.rs
parentdc5955955785cdabea90c010db65b661ab87e2dc (diff)
downloadmodlist-28706f6edf10a135a67334d7035948bab4064bef.tar
modlist-28706f6edf10a135a67334d7035948bab4064bef.tar.gz
modlist-28706f6edf10a135a67334d7035948bab4064bef.zip
dl add clean & all-lists; start of io
Diffstat (limited to 'src/commands/update.rs')
-rw-r--r--src/commands/update.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/update.rs b/src/commands/update.rs
index 498b6a9..0895efb 100644
--- a/src/commands/update.rs
+++ b/src/commands/update.rs
@@ -41,7 +41,7 @@ pub async fn update(config: Cfg, input: Input) -> Result<(), Box<dyn std::error:
41 let version_db_string = project.versions.join("|"); 41 let version_db_string = project.versions.join("|");
42 42
43 //Adding to stack if not the same versions in the list OR if clean == true 43 //Adding to stack if not the same versions in the list OR if clean == true
44 if input.clone().clean || (version_db_string != current_version.versions) { 44 if input.clean || (version_db_string != current_version.versions) {
45 updatestack.push(match specific_update(config.clone(), input.clone(), current_list.clone(), project.clone()).await { 45 updatestack.push(match specific_update(config.clone(), input.clone(), current_list.clone(), project.clone()).await {
46 Ok(ver) => { 46 Ok(ver) => {
47 current_versions.push((disable_version, p_id)); 47 current_versions.push((disable_version, p_id));