summaryrefslogtreecommitdiff
path: root/src/commands/update.rs
diff options
context:
space:
mode:
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));