Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Nov 30, 2023
1 parent e313e53 commit 2d7c7a1
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 @@ -770,7 +770,7 @@ impl Update {
archive: &mut tar::Archive<R>,
extract_path: &Path,
) -> Result<()> {
std::fs::create_dir(&extract_path)?;
std::fs::create_dir(extract_path)?;
for entry in archive.entries()? {
let mut entry = entry?;
let entry_path: PathBuf = entry.path()?.components().skip(1).collect();
Expand Down

0 comments on commit 2d7c7a1

Please sign in to comment.