We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71327db commit d857121Copy full SHA for d857121
hooks/__init__.py
@@ -274,7 +274,10 @@ def list_all_files(root_dir) -> list[str]:
274
for file in os.listdir(root_dir):
275
file_path = os.path.join(root_dir, file)
276
277
- if os.path.isdir(file_path) and not file_path.endswith('_'):
+ if os.path.isdir(file_path):
278
+ if file_path.endswith('_'):
279
+ logger.debug('Ignored folder ' + str(file_path), server)
280
+ continue
281
# 遍历子文件夹
282
_files_in_a_folder.extend(list_all_files(file_path))
283
if os.path.isfile(file_path) and (file_path.endswith('.yaml') or file_path.endswith('.yml')):
0 commit comments