Skip to content

Commit

Permalink
fix metadata get
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog-crabnebula committed Nov 19, 2023
1 parent 38a9ce5 commit dfebd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/updater/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ impl Update {
let tmp_dir = tempfile::Builder::new()
.prefix("current_app")
.tempdir_in(tmp_dir_root)?;
let tmp_dir_metadata = tmp_dir.metadata()?;
let tmp_dir_metadata = tmp_dir.path().metadata()?;

if extract_path_metadata.dev() == tmp_dir_metadata.dev() {
let mut perms = tmp_dir_metadata.permissions();
Expand Down

0 comments on commit dfebd8a

Please sign in to comment.