Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Jan 10, 2025
1 parent a058478 commit cd6507c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/syncer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,11 @@ impl Syncer {
if is_dir {
!dir.contains_dir(name)
} else {
if !is_special_component(name) {
let b = !dir.contains_file(name) && name != METADATA_FILENAME;
if b && !is_special_component(name) {
dbdeletions.push(name.to_owned());
}
!dir.contains_file(name) && name != METADATA_FILENAME
b
}
}
None => true,
Expand Down

0 comments on commit cd6507c

Please sign in to comment.