chore: linter

This commit is contained in:
zhom
2025-06-05 21:26:47 +04:00
parent f397568785
commit bb2eb65c1e
3 changed files with 27 additions and 40 deletions
+4 -6
View File
@@ -206,12 +206,10 @@ impl Downloader {
})
.or_else(|| {
// Fallback to DEB packages
assets
.iter()
.find(|asset| {
let name = asset.name.to_lowercase();
name.contains(arch_pattern) && name.ends_with(".deb")
})
assets.iter().find(|asset| {
let name = asset.name.to_lowercase();
name.contains(arch_pattern) && name.ends_with(".deb")
})
})
.or_else(|| {
// Fallback to any ZIP