mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
Don't show the .git directory.
This commit is contained in:
parent
7a99859108
commit
bf4f6909b9
@ -179,7 +179,7 @@ class WorkflowSpecService(FileSystemService):
|
|||||||
with os.scandir(FileSystemService.root_path()) as directory_items:
|
with os.scandir(FileSystemService.root_path()) as directory_items:
|
||||||
categories = []
|
categories = []
|
||||||
for item in directory_items:
|
for item in directory_items:
|
||||||
if item.is_dir():
|
if item.is_dir() and not item.name[0] == '.':
|
||||||
if item.name == self.REFERENCE_FILES:
|
if item.name == self.REFERENCE_FILES:
|
||||||
continue
|
continue
|
||||||
elif item.name == self.MASTER_SPECIFICATION:
|
elif item.name == self.MASTER_SPECIFICATION:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user