diff --git a/fs-index/src/utils.rs b/fs-index/src/utils.rs index fd94a994..f19158be 100644 --- a/fs-index/src/utils.rs +++ b/fs-index/src/utils.rs @@ -184,7 +184,7 @@ fn should_index(entry: &walkdir::DirEntry) -> bool { if entry .metadata() .map(|m| m.len() == 0) - .unwrap_or(false) + .unwrap_or(true) { println!("\t\tFile is empty"); return false;