chore: update dependencies in Cargo.lock
This commit is contained in:
@@ -22,8 +22,10 @@ pub fn main() -> Result<()> {
|
||||
// Returns all the children (if a dir) and sister (if an image) files of the input path
|
||||
fn walker(input: impl AsRef<Path>) -> Vec<PathBuf> {
|
||||
let mut tb = ignore::types::TypesBuilder::new();
|
||||
tb.add("image", "*.jpg").expect("Failed to add image type");
|
||||
tb.add("image", "*.png").expect("Failed to add image type");
|
||||
gpui::Img::extensions().iter().for_each(|ext| {
|
||||
tb.add("image", &format!("*.{ext}"))
|
||||
.expect("Failed to add image type");
|
||||
});
|
||||
ignore::WalkBuilder::new(input)
|
||||
.types(
|
||||
tb.select("image")
|
||||
|
||||
Reference in New Issue
Block a user