Solved bvug

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-18 14:08:23 +01:00
parent 0a315ad6ea
commit 68aa8628e1

View File

@ -105,7 +105,9 @@ class DirectoryHandler:
if any(ignore_str in file_path for ignore_str in ignore_file_strings): if any(ignore_str in file_path for ignore_str in ignore_file_strings):
return False return False
if path_contains or content_contains:
return DirectoryHandler.path_or_content_contains(file_path, path_contains, content_contains) return DirectoryHandler.path_or_content_contains(file_path, path_contains, content_contains)
return True
@staticmethod @staticmethod
def print_file_content(file_path, no_comments, compress): def print_file_content(file_path, no_comments, compress):