Fix build / formatting

This commit is contained in:
Simon Hausmann 2021-10-06 22:03:01 +02:00
parent bf6aaf4657
commit 8eda32cf3f

View file

@ -58,7 +58,9 @@ fn process_style(path: &Path) -> std::io::Result<String> {
.path()
.extension()
.map(|ext| {
ext == std::ffi::OsStr::new("60") || ext == std::ffi::OsStr::new("svg") || ext == std::ffi::OsStr::new("svgz")
ext == std::ffi::OsStr::new("60")
|| ext == std::ffi::OsStr::new("svg")
|| ext == std::ffi::OsStr::new("svgz")
})
.unwrap_or_default()
})