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)?; } } }