update: exclude hidden dir
This commit is contained in:
@@ -522,7 +522,7 @@ async def scan_workspaces() -> None:
|
|||||||
if not WORKSPACES_ROOT.exists():
|
if not WORKSPACES_ROOT.exists():
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
entries = os.listdir(WORKSPACES_ROOT)
|
entries = [f for f in os.listdir(WORKSPACES_ROOT) if not f.startswith('.')]
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"scan workspace failed: {e}")
|
logger.error(f"scan workspace failed: {e}")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user