Don't show the .git directory.

This commit is contained in:
Dan 2022-02-11 11:06:26 -05:00
parent 7a99859108
commit bf4f6909b9

View File

@ -179,7 +179,7 @@ class WorkflowSpecService(FileSystemService):
with os.scandir(FileSystemService.root_path()) as directory_items:
categories = []
for item in directory_items:
if item.is_dir():
if item.is_dir() and not item.name[0] == '.':
if item.name == self.REFERENCE_FILES:
continue
elif item.name == self.MASTER_SPECIFICATION: