mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 09:33:38 -05:00
fix: clippy lints
This commit is contained in:
@@ -130,13 +130,7 @@ pub async fn get_updates(
|
||||
.map(|image| &image.parts.registry)
|
||||
.unique()
|
||||
.filter(|®istry| match ctx.config.registries.get(registry) {
|
||||
Some(config) => {
|
||||
if config.ignore {
|
||||
false
|
||||
} else {
|
||||
true
|
||||
}
|
||||
}
|
||||
Some(config) => !config.ignore,
|
||||
None => true,
|
||||
})
|
||||
.collect::<Vec<&String>>();
|
||||
|
||||
Reference in New Issue
Block a user