Skip to content
Snippets Groups Projects
Commit ae104d26 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

fix to include files without extension

parent 4da039dc
No related branches found
No related tags found
1 merge request!106fix to include files without extension
Pipeline #78545 passed
......@@ -351,7 +351,10 @@ class GitHelper:
while keeping the same directory structure
"""
file_count = 0
for file in export_out_dir.rglob("*.*"):
file_names = [
file_name for file_name in export_out_dir.rglob("*") if file_name.is_file()
]
for file in file_names:
rel_file_path = file.relative_to(export_out_dir)
out_file = self.export_path / rel_file_path
if not out_file.exists():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment