Fix recipe push stat

This commit is contained in:
Wildan M 2025-11-13 18:53:29 +07:00
parent 04769573ef
commit d2bb65ed26

View File

@ -654,7 +654,11 @@ fn handle_push(recipes: &Vec<CookRecipe>, config: &CliConfig) -> anyhow::Result<
"",
i == num_roots - 1,
&match metadata {
Ok(m) => WalkTreeEntry::Built(&archive_path, m.len()),
Ok(m) => {
total_size += m.len();
visited.insert(root.name.clone());
WalkTreeEntry::Built(&archive_path, m.len())
}
Err(_) => WalkTreeEntry::NotBuilt,
},
)?;