diff --git a/bnpm/path_helpers.py b/bnpm/path_helpers.py index d87a096..b8923de 100644 --- a/bnpm/path_helpers.py +++ b/bnpm/path_helpers.py @@ -180,6 +180,8 @@ def get_paths_recursive_inner(dir_inner, depth_end, depth=0): if fn_match(path, reMatch, reMatch_in_path): print(f'Found folder: {path}') if verbose > 0 else None paths.append(path) + else: + print(f'Not matched: {path}') if verbose > 1 else None if depth < depth_end: print(f'Entering folder: {path}') if verbose > 1 else None paths += get_paths_recursive_inner(path, depth_end, depth=depth+1) @@ -188,6 +190,8 @@ def get_paths_recursive_inner(dir_inner, depth_end, depth=0): if fn_match(path, reMatch, reMatch_in_path): print(f'Found file: {path}') if verbose > 0 else None paths.append(path) + else: + print(f'Not matched: {path}') if verbose > 1 else None return paths def fn_check_pathLike(obj):