Skip to content

Commit 2f87a53

Browse files
committed
CM-65133 added await to anyio path check
1 parent 92dfd3e commit 2f87a53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cycode/cli/apps/mcp/mcp_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async def _cycode_scan_tool(
243243

244244
try:
245245
if paths:
246-
missing = [p for p in paths if not anyio.Path(p).exists()]
246+
missing = [p for p in paths if not await anyio.Path(p).exists()]
247247
if missing:
248248
return json.dumps({'error': f'Paths not found on disk: {missing}'}, indent=2)
249249

0 commit comments

Comments
 (0)