From 30a890009a10869d2c8d61c00c70e800d7559243 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 19 Jun 2023 14:00:35 -0300 Subject: [PATCH] macos lint --- plugins/updater/src/updater.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index 3e81b649..33022801 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -653,7 +653,7 @@ impl Update { let extraction_path = &self.extract_path.join(collected_path); // if something went wrong during the extraction, we should restore previous app - if let Err(err) = entry.unpack(&extraction_path) { + if let Err(err) = entry.unpack(extraction_path) { for file in &extracted_files { // delete all the files we extracted if file.is_dir() {