Skip to content

Commit

Permalink
Update crates/cxx-qt-build/src/dir.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Leon Matthes <leon.matthes@kdab.com>
  • Loading branch information
jnbooth and LeonMatthesKDAB authored Dec 6, 2024
1 parent 331829f commit 508ee46
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/cxx-qt-build/src/dir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ fn deep_copy_directory(source: &Path, dest: &Path) -> Result<bool> {
}
if !dest_path.try_exists()? {
fs::copy(&source_path, &dest_path)?;
continue;
}
if files_conflict(&source_path, &dest_path)? {
else if files_conflict(&source_path, &dest_path)? {
return Ok(false);
}
}
Expand Down

0 comments on commit 508ee46

Please sign in to comment.