add debug case first version not found

This commit is contained in:
Pakin 2025-09-10 13:56:32 +07:00
parent 9fb1d348da
commit dc2d978c5d

View file

@ -182,8 +182,13 @@ pub fn build_recipe_shardings(source: PathBuf) -> HashMap<String, Value> {
// { productCode: { version: [ Option<RecipeChange> ] } }
let mut shards = HashMap::new();
println!(
"first version from sorted = {:?}",
recipes.first().unwrap().MachineSetting
);
let base_version: i64 = recipes
.get(0)
.first()
.unwrap()
.MachineSetting
.get_config_number()