Compare commits

..

2 commits

Author SHA1 Message Date
59461f38f6 Fix mariadb dump logic on unchanged database 2021-12-17 19:30:02 +01:00
bdfec3e127 Clippy 2021-12-17 18:04:23 +01:00

View file

@ -44,8 +44,9 @@ pub fn create_static_output_files(source_dir: &str) {
}
}
Err(err) => {
if err.kind() != NotFound {
panic!("Unexpected error: {}", err)
if err.kind() == NotFound {
} else {
Err(err).unwrap();
}
}
}