Recipes where action=printed now contain their model & print profile

This commit is contained in:
Sebastian Kuzminsky 2025-04-02 22:50:56 -06:00
parent 98353e926a
commit e0e38503f0
8 changed files with 17 additions and 25 deletions

View file

@ -182,8 +182,8 @@ impl Repos {
crate::recipe::Action::process(process) => {
writeln!(puml_file, "{} : {:?}", input_object_name, process)?;
}
crate::recipe::Action::print => {
writeln!(puml_file, "{} : print", input_object_name)?;
crate::recipe::Action::print(printed_part) => {
writeln!(puml_file, "{} : {:?}", input_object_name, printed_part)?;
}
crate::recipe::Action::purchase(_purchase) => {
writeln!(puml_file, "{} : buy", input_object_name)?;