change filter
This commit is contained in:
parent
b10d8a1871
commit
0e7eca5ebf
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ pub fn build_recipe_shardings(source: PathBuf) -> HashMap<String, Value> {
|
||||||
|
|
||||||
let mut recipes: Vec<Recipe> = files
|
let mut recipes: Vec<Recipe> = files
|
||||||
.par_iter()
|
.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()))
|
.map(|file| common::create_recipe_model_from_file(file.to_string()))
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue