feat: Exclude .git when retrieving filename lists

In the future could support user provided excluded dirs via config file
This commit is contained in:
Michael Poutre 2023-08-23 16:50:41 -07:00
parent d196847079
commit 3e00fa4332
No known key found for this signature in database
GPG Key ID: ACEAC6CFD77EB15E
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def get_filename_list_(folder_name):
folders = folder_names_and_paths[folder_name]
output_folders = {}
for x in folders[0]:
files, folders_all = recursive_search(x)
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
output_list.update(filter_files_extensions(files, folders[1]))
output_folders = {**output_folders, **folders_all}