From 38a9ce58e20c58be5aeac39ec82879de773af549 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sat, 18 Nov 2023 22:34:49 -0300 Subject: [PATCH] fix build --- crates/updater/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/updater/src/lib.rs b/crates/updater/src/lib.rs index 679ddd31..49d3d348 100644 --- a/crates/updater/src/lib.rs +++ b/crates/updater/src/lib.rs @@ -674,7 +674,7 @@ impl Update { if let Some(tmp_dir_root) = tmp_dir_location() { use std::os::unix::fs::{MetadataExt, PermissionsExt}; - let (_, tmp_dir) = tempfile::Builder::new() + let tmp_dir = tempfile::Builder::new() .prefix("current_app") .tempdir_in(tmp_dir_root)?; let tmp_dir_metadata = tmp_dir.metadata()?;