update: exclude hidden dir

This commit is contained in:
tao.chen
2026-08-07 15:08:36 +08:00
parent 2ee36b48ec
commit 10347efa73
+1 -1
View File
@@ -522,7 +522,7 @@ async def scan_workspaces() -> None:
if not WORKSPACES_ROOT.exists():
return
try:
entries = os.listdir(WORKSPACES_ROOT)
entries = [f for f in os.listdir(WORKSPACES_ROOT) if not f.startswith('.')]
except Exception as e:
logger.error(f"scan workspace failed: {e}")
return