fix walkdir not respecting reversed hidden flag

This commit is contained in:
Lilian Jónsdóttir 2024-06-30 18:57:11 -07:00
parent a5654af0ff
commit fbd6bfb507

View file

@ -105,7 +105,7 @@ func walk_dir(dir string, f *filter.Filter) (files Files) {
return nil return nil
} }
if is_in_recursive_dir(dir, path) && f.ShowHidden() { if is_in_recursive_dir(dir, path) && !f.ShowHidden() {
return nil return nil
} }