From bf4f6909b95daffd0fc6bac89863175b787a67d3 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 11 Feb 2022 11:06:26 -0500 Subject: [PATCH] Don't show the .git directory. --- crc/services/workflow_spec_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc/services/workflow_spec_service.py b/crc/services/workflow_spec_service.py index 524fc369..672e8155 100644 --- a/crc/services/workflow_spec_service.py +++ b/crc/services/workflow_spec_service.py @@ -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: