change filter

This commit is contained in:
Pakin 2025-09-10 14:05:09 +07:00
parent b10d8a1871
commit 0e7eca5ebf

View file

@ -166,7 +166,7 @@ pub fn build_recipe_shardings(source: PathBuf) -> HashMap<String, Value> {
let mut recipes: Vec<Recipe> = files
.par_iter()
.filter(|file| file.ends_with("json") && file.starts_with("coffeethai02"))
.filter(|file| file.ends_with("json") && file.contains("coffeethai02"))
.map(|file| common::create_recipe_model_from_file(file.to_string()))
.collect();