fix: clippy

This commit is contained in:
Miles Murgaw committed 2023-06-30 10:48:38 -04:00
1 parent 4ab8519af6
commit 2c8c601579
13 files changed
+54 -54

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ impl UserData for PluginFileSystem {
let file = PathBuf::from(args.0);
let target = PathBuf::from(args.1);
let res = extract_zip(&file, &target);
if let Err(_) = res {
if res.is_err() {
return Ok(false);
}
Ok(true)