Skip to content

Commit

Permalink
fix: linting (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbirkisson authored Nov 8, 2024
1 parent ab1b388 commit 9c40485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ pub fn setup_media_processing(
})
.filter_map(|(uuid, path, ext)| match ext.as_str() {
// Map extensions to media type
"avif" | "jpg" | "jpeg" | "png" | "apng" | "gif" | "webp" | "tif" | "tiff" | "bmp" => Some((uuid, path, media::ProcessedMediaType::Image)),
"avif" | "jpg" | "jpeg" | "png" | "apng" | "gif" | "webp" | "tif" | "tiff"
| "bmp" => Some((uuid, path, media::ProcessedMediaType::Image)),
"mov" | "mp4" => Some((uuid, path, media::ProcessedMediaType::Video)),
_ => None,
})
Expand Down

0 comments on commit 9c40485

Please sign in to comment.