mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 06:14:18 +08:00
Fix clean by category
This commit is contained in:
parent
2423c3d379
commit
0c717ec5cd
@ -427,7 +427,7 @@ fn parse_args(args: Vec<String>) -> anyhow::Result<(CliConfig, CliCommand, Vec<C
|
||||
.collect(),
|
||||
}
|
||||
.iter()
|
||||
.map(|f| CookRecipe::from_path(f, !config.all))
|
||||
.map(|f| CookRecipe::from_path(f, !command.is_cleaning()))
|
||||
.collect::<Result<Vec<CookRecipe>, PackageError>>()?
|
||||
} else {
|
||||
if recipe_names.is_empty() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user