From 4def53b49359e7dab529c55ca5d5a90bdbaf01a7 Mon Sep 17 00:00:00 2001 From: leodiegues Date: Sun, 22 Feb 2026 11:50:04 -0300 Subject: [PATCH] fix(scanner): only recurse into directories in scanner --- src/scanner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.rs b/src/scanner.rs index d19d66b..62a4101 100644 --- a/src/scanner.rs +++ b/src/scanner.rs @@ -191,8 +191,8 @@ fn scan_kind_dir( } if entry_path.is_dir() { debug!("Recursing into {} for {}", entry_path.display(), kind); + scan_kind_dir(root, &entry_path, kind, mappings)?; } - scan_kind_dir(root, &entry_path, kind, mappings)?; } } }