mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-07-03 01:02:55 +00:00
chore: code cleanup
This commit is contained in:
@ -141,7 +141,7 @@ impl InputFile {
|
||||
}
|
||||
} else {
|
||||
return Err(FileError::Parsing(
|
||||
filename.into(),
|
||||
filename,
|
||||
"Kann OSB-Datei nicht lesen".to_string(),
|
||||
));
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ pub fn unzip_osb_using_password(path: &str, dir: &str, password: &str) {
|
||||
};
|
||||
|
||||
let outpath = match file.enclosed_name() {
|
||||
Some(path) => Path::new(dir).join(path.to_owned()),
|
||||
Some(path) => Path::new(dir).join(&path),
|
||||
None => continue,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user