add more debug
This commit is contained in:
parent
dc2d978c5d
commit
7ea8d2f967
1 changed files with 6 additions and 0 deletions
|
|
@ -182,6 +182,12 @@ pub fn build_recipe_shardings(source: PathBuf) -> HashMap<String, Value> {
|
||||||
// { productCode: { version: [ Option<RecipeChange> ] } }
|
// { productCode: { version: [ Option<RecipeChange> ] } }
|
||||||
let mut shards = HashMap::new();
|
let mut shards = HashMap::new();
|
||||||
|
|
||||||
|
if recipes.is_empty() {
|
||||||
|
eprintln!("recipes get empty!!!");
|
||||||
|
} else {
|
||||||
|
println!("recipes cnt = {}", recipes.len());
|
||||||
|
}
|
||||||
|
|
||||||
println!(
|
println!(
|
||||||
"first version from sorted = {:?}",
|
"first version from sorted = {:?}",
|
||||||
recipes.first().unwrap().MachineSetting
|
recipes.first().unwrap().MachineSetting
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue