Merge branch 'clean-category' into 'master'

Fix clean by category

See merge request redox-os/cookbook!697
This commit is contained in:
Jeremy Soller 2025-11-20 06:48:34 -07:00
commit 8cdc80dbe7

View File

@ -435,7 +435,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() {