mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-08 17:10:50 -10:00
style(app-server): rustfmt external_agents.rs
preflight --check flagged one match arm in needs_update from 2a315afc48.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
71a8599b54
commit
28ff652d9a
1 file changed
+4
-1
@@ -317,7 +317,10 @@ fn parsed_version(text: &str) -> Option<semver::Version> {
|
||||
}
|
||||
|
||||
fn needs_update(version: Option<&str>, minimum: Option<&str>) -> bool {
|
||||
match (version.and_then(parsed_version), minimum.and_then(parsed_version)) {
|
||||
match (
|
||||
version.and_then(parsed_version),
|
||||
minimum.and_then(parsed_version),
|
||||
) {
|
||||
(Some(found), Some(floor)) => found < floor,
|
||||
_ => false,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user