From fbd6bfb50770ac3fc25378068753d2d25d320eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Sun, 30 Jun 2024 18:57:11 -0700 Subject: [PATCH] fix walkdir not respecting reversed hidden flag --- internal/files/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/files/files.go b/internal/files/files.go index bfe5c4f..b66037f 100644 --- a/internal/files/files.go +++ b/internal/files/files.go @@ -105,7 +105,7 @@ func walk_dir(dir string, f *filter.Filter) (files Files) { return nil } - if is_in_recursive_dir(dir, path) && f.ShowHidden() { + if is_in_recursive_dir(dir, path) && !f.ShowHidden() { return nil }