update: exclude hidden dir
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user