diff options
author | fxqnlr <[email protected]> | 2023-05-09 20:53:34 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2023-05-09 20:53:34 +0200 |
commit | d6415cf0e03dbb42c573a597d07ea1be5cd1fc44 (patch) | |
tree | be7a6a8694b00e1702481d158638ae7cf3ba78e1 /src/commands/update.rs | |
parent | 9063a041f6b2e72f6e4a861c77ac16065dd5378b (diff) | |
download | modlist-d6415cf0e03dbb42c573a597d07ea1be5cd1fc44.tar modlist-d6415cf0e03dbb42c573a597d07ea1be5cd1fc44.tar.gz modlist-d6415cf0e03dbb42c573a597d07ea1be5cd1fc44.zip |
added list check on default change
Diffstat (limited to 'src/commands/update.rs')
-rw-r--r-- | src/commands/update.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/commands/update.rs b/src/commands/update.rs index d76ba4b..1fe664e 100644 --- a/src/commands/update.rs +++ b/src/commands/update.rs | |||
@@ -105,7 +105,6 @@ async fn specific_update(config: Cfg, clean: bool, list: List, id: String) -> ML | |||
105 | } | 105 | } |
106 | 106 | ||
107 | let mut current: Vec<Version> = vec![]; | 107 | let mut current: Vec<Version> = vec![]; |
108 | //TODO Split clean and no match | ||
109 | if clean | 108 | if clean |
110 | || (versions.join("|") | 109 | || (versions.join("|") |
111 | != userlist_get_applicable_versions( | 110 | != userlist_get_applicable_versions( |
@@ -134,7 +133,6 @@ async fn specific_update(config: Cfg, clean: bool, list: List, id: String) -> ML | |||
134 | }?; | 133 | }?; |
135 | current.push(current_ver.clone()); | 134 | current.push(current_ver.clone()); |
136 | 135 | ||
137 | //TODO implement version selection if no primary | ||
138 | let link = match current_ver | 136 | let link = match current_ver |
139 | .files | 137 | .files |
140 | .into_iter() | 138 | .into_iter() |